You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-18Lines changed: 2 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -56,22 +56,7 @@ The live site is deployed in vercel, but it seems that vercel can't render swipe
56
56
57
57
### What I learned
58
58
59
-
I learned a simple css styling to put text in a background as shown below
60
-
```js
61
-
.newsletter-background {
62
-
font-weight:800;
63
-
font-size:7.5rem;
64
-
line-height:151px;
65
-
color: #f2f3f7;
66
-
position: absolute;
67
-
z-index:-1;
68
-
}
69
-
```
70
-
By setting position to absolute and z-index to -1 (or lower than any other z-index of other elements).
71
-
z-index is a CSS property that defines the order of overlapping HTML elements. Elements with a higher index will be placed on top of elements with a lower index
72
-

73
-
74
-
I also learned how to connect stripe as payment gate for e-commerce. Full code for connecting to stripe in /pages/api/stripe.js
59
+
I learned how to connect stripe as payment gate for e-commerce. Full code for connecting to stripe in /pages/api/stripe.js
75
60

76
61
77
62
The confetti effect is implemented on the payment success page after the user successfully checkouts their cart
@@ -89,8 +74,7 @@ The development of this project can be continued by adding a search filter funct
0 commit comments