r/css • • Mar 30 '17

CSS is Fine, It’s Just Really Hard

https://medium.com/@jdan/css-is-fine-its-just-really-hard-638da7a3dce0
5 Upvotes

4 comments sorted by

3

u/lamb_pudding Mar 30 '17

Bad article that doesn't really give any counter arguments. The author almost sounds sarcastic when talking about the outputted CSS from JS.

.heading_1flg42u-o_O-callout_1ih983s {
    font-family: Comic Sans MS !important;
    color: tomato !important;
}

See? Still CSS. Clean CSS. Perfect CSS. To-the-book CSS.

Using !important is not perfect CSS nor clean. The nature of CSS is that it cascades. The CSS in JS solution the author proposes pretty much gets rid of the cascade nature of it

This article gives a good argument for CSS and describes that it is not broken and you don't need to put it in your JS.

1

u/super_thalamus Mar 31 '17

I think it's meant to be satire.

1

u/jordanscales Mar 30 '17

No it's a very good article.

0

u/generalecchi Mar 31 '17

are you looking for counter strike source articles then ?