@abhik-b
Posted
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 a container
div and then give it a style of position:absolute; top:50%;left:50%; transform:translate(-50%,-50%);
Happy coding 😇 & Keep contributing these Amazing solutions 🚀
@Raihan-21
Posted
@abhik-b can you explain why u would use position absolute because im still a little bit confused why use it for centering?
@abhik-b
Posted
@Kucabara21 it is not compulsory to use absolute
, here is a article explaining different ways to center a div
@Raihan-21
Posted
@abhik-b yea i've already learned about that but thanks for the article though