Design comparison
Solution retrospective
any feedbacks will be appreciated to make my code more effective
Community feedback
- @abhik-bPosted almost 4 years ago
Hi Kucabara 👋 , Amazing job on this challenge , it is responsive on mobiles 💯 , centering content on tablets can make it nicer 🚀
How I would have approached centering is putting the
flexBox
&social
inside acontainer
div and then give it a style ofposition:absolute; top:50%;left:50%; transform:translate(-50%,-50%);
Happy coding 😇 & Keep contributing these Amazing solutions 🚀
0@Raihan-21Posted almost 4 years ago@abhik-b can you explain why u would use position absolute because im still a little bit confused why use it for centering?
1@abhik-bPosted almost 4 years ago@Kucabara21 it is not compulsory to use
absolute
, here is a article explaining different ways to center a div0@Raihan-21Posted almost 4 years ago@abhik-b yea i've already learned about that but thanks for the article though
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
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