r/ProgrammerHumor • • Sep 25 '26

Meme frontEndBaddiesBeLike

Post image
5.7k Upvotes

132 comments sorted by

View all comments

Show parent comment

176

u/fmaz008 Sep 25 '26

No one is changing 1 line of CSS. You add a new line of CSS with !important.

-13

u/Top_Product_2407 Sep 25 '26

I've seen an "architech" submit a PR with multiple !important

10

u/ihavebeesinmyknees Sep 25 '26

There are legitimate uses for !important even if not overriding legacy styling. I've had to use !important a few times before to force CSS to apply rules the exact way I needed them.

2

u/ForgedIronMadeIt Sep 25 '26

I'm pretty terrible at web design but I try to limit my use of !important overrides to occasions where I've inherited some stylesheet from somewhere else, like the component toolkit my stack is using.

5

u/SuperFLEB Sep 25 '26 edited Sep 28 '26

If you're not saying "...and fuck you!" under your breath about the last person to own the CSS while you type it, it's a sign you might be using !important where you don't need to.

19

u/[deleted] Sep 25 '26

[removed] — view removed comment

2

u/awesome-alpaca-ace Oct 01 '26

All those meetings and reviews