DEV Community

Discussion on: Tell me about the worst CSS you've ever had to deal with

Collapse
 
felipperegazio profile image
Felippe Regazio • Edited

I had to deal with a system that has lot of !important in pure css files along different folders in the project. The files were loaded sometimes twice in a page (because different modules was loading same .css). There was so many !importants that nothing was important anymore. I had to discover the scope and logic of dozens of files and re-arrange/re-order/re-write them all. Bad days :/

Collapse
 
roh_mish profile image
Rohan Mishra

There was so many !importants that nothing was important anymore.

Saving this for future use.