Hello, I am kunaal a fullstack developer.I have a youtube channel "Modern Web" where I teach to make awesome web UI/ UX. Don't forget to checkout my youtube channel
Hello, I am kunaal a fullstack developer.I have a youtube channel "Modern Web" where I teach to make awesome web UI/ UX. Don't forget to checkout my youtube channel
I know about flex boxand css grid. What happen? Did I messed up somewhere😅
Haha yeah you should not be using top: 50%, translate(-50%)... use flexbox instead
Yeah of course there are multiple ways to centre a div.
there are but the hack you used isn't really great. Flexbox is simply the best and most standard way today.