Skip to content

Commit eb56097

Browse files
Update README.md
1 parent 8674bf8 commit eb56097

File tree

1 file changed

+2
-18
lines changed

1 file changed

+2
-18
lines changed

README.md

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -56,22 +56,7 @@ The live site is deployed in vercel, but it seems that vercel can't render swipe
5656

5757
### What I learned
5858

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-
![adding text as background](./src/assets/middle-section.png)
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
7560
![payment with stripe](./src/assets/payment.png)
7661

7762
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
8974

9075
## Author
9176

92-
- Github - [Shabrina Putri](https://github.com/shabrina12/)
93-
- Instagram - [@shabputri_](https://www.instagram.com/shabputri_/)
77+
- Github - [Shabrina Putri](https://github.com/followDev/eCommerce-Fullstack.git)
9478

9579

9680
## Acknowledgments

0 commit comments

Comments
 (0)