Gabr22• 280
@MohamedGabr20233
Posted
u can use the following code : containerthe box class{ display : flex ; align-items: center ; justify-content: center;} or use { **display : grid **; place-content: center ; }
Marked as helpful
1
I had problem with giving the right margin and padding on the sides of the image and text.
@MohamedGabr20233
Posted
u can use the following code : containerthe box class{ display : flex ; align-items: center ; justify-content: center;} or use { **display : grid **; place-content: center ; }
Marked as helpful
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord