If you are starting your carrier as a web developer, CSS is a headache for many developers, based on my experience. It takes time to learn it and master it. This article is covering some common mistakes that you may face when writing CSS code.
Do you know that you don’t need to use px when you want to set the a value to 0:
Always keep in mind the DRY rule. Don’t repeat yourself. The number of code lines will cost you in terms of app performance and loading time.
Using a color code is better then a name
Avoid multiline of code when you can do the same thing with one line
Always complete the font you’re using