๐ The Absolutely Absolute way
โ The old & easy way.
๐ The Griddy Way
โ Offers a grid-based layout system.
โ Making it easier to design web pages.
๐ The Flexy Way
โ Easy & Simple.
โ Flexible width/height of elements depending on available space.
๐ The Table Way
โ The very old way when tables were the only real way to structure HTML.
๐ Power of Margins
โ margin: auto on (flex or grid) item will not only horizontally center the element as it did in block layouts, but also center it in the vertical axis.
โจ Hopefully you find something new today!! โจ
โ It was just fun to see that CSS has so many varieties to do the same things just like we have in a programming language.
โ But then it depends on your personal preference & the ๐๐ถ๐๐๐ฎ๐๐ถ๐ผ๐ป when to use each of them.๐คฉโจ
Top comments (0)