Code Smells in CSS
Harry Roberts, Code Smells in CSS, Part 1:
- Undoing Styles
- Magic Numbers
- Qualified Selectors
- Absolute Values
- Brute Forcing
- Dangerous Selectors
- Reactive !important
- IDs
- Loose Class Names
- @extend
- String Concatenation for Classes
- Background Shorthand
- Duplicated Key Selectors
- Classes in Wrong Components
- Non BEM
- @import
Direct Link to Article — Permalink
Code Smells in CSS is a post from CSS-Tricks