When you start working as web-developer everything looks pretty simple – small projects, a little amount of pages. But as far as you get more experienced your projects start getting bigger and bigger. More elements and pages lead you to understanding that your CSS code start looking very complex and messy in some parts. How to deal with it?
In this article, we will dive deeper into the world of CSS units, which will allow us to find more flexible solutions for the layout of different elements in some situations.
Beginners in web-development used to limiting their toolbox to pixels (px) and percent (%) – which units are quite enough to solve simple tasks. But CSS is ready to offer us more!