7 CSS Tips for Frontend Web Developers (Write Better CSS) in 2021

Опубликовано: 29 Январь 2025
на канале: Cem Eygi Media
2,674
87

Learn these 7 CSS tips for writing better CSS code as a frontend web developer. Working with CSS can be difficult and time-consuming but it doesn't have to be. 

There are some things you can do which will make working with CSS much easier and faster, so in this video, I will give you 7 tips that can be applied directly to your CSS code which will help you while working with CSS and also improve it.


SECTIONS:
(00:00) -  INTRO
(00:22) - Use DRY Principle (Don't Repeat Yourself)
(01:44)  - Use A Preprocessor
(02:40)  -  Don't Use Inline Styling
(03:25)  - Separation of Concerns
(04:24)  -   Overwriting CSS Rules
(05:10)  -  Don't Use the !important Tag
(05:58)  - Use A Naming Convention
(07:00)  - Use Shorthands
(07:35)  - Learn Flexbox or Grid


BEM Documentation: http://getbem.com/introduction/

#css #webdesign #webdevelopment #css3