DEV Community

Discussion on: So, how many of you respect CSS as a programming language?

kieran815 profile image
Comment marked as low quality/non-constructive by the community. View Code of Conduct
Kieran815

Hey, there's an animation library you should check out. It's called WankerJS. It's really just a one line method for removing the "wanker" class from any Dom elements that are class "Wanker". As we all know, the "Wanker" class adds an opaque overlay on all it's child elements, which is obnoxious if you're styling with css or scss. Enjoy!

Thread Thread
kieran815 profile image
Comment marked as low quality/non-constructive by the community. View Code of Conduct
Kieran815

Don't be so opinionated. You learned css past year. Did you really JUST learn media queries???
dev.to/urielbitton/the-top-5-css-t...

Thread Thread
urielbitton profile image
Uriel Bitton

I have known css for 8 years or more. These are only concepts i took seriously last year. You can know basic css and use css libraries for web development, or use older css methods...

Thread Thread
urielbitton profile image
Uriel Bitton

Also be respectful please. Your comment is not appropriate on DEV, be more respectful when writing comments in the future.

Thread Thread
kieran815 profile image
Kieran815

So you only learned it starting last year. Gotcha.

Thread Thread
kieran815 profile image
Comment marked as low quality/non-constructive by the community. View Code of Conduct
Kieran815

Yawn.

Thread Thread
urielbitton profile image
Uriel Bitton

If you actually read the post you would know i learned you can use max-HEIGHT and not just max-width which i knew from many years ago...

lifelongthinker profile image
Sebastian • Edited

@urielbitton , React Native doesn't apply here as it doesn't target web browsers. Unless the "frontend" definition relates to technology beyond HTML rendered by web browser, which makes the entire discussion here pointless.

Flutter can target web apps and I see an awful lot of CSS in their output. It uses the HTML Canvas control, where CSS might not apply, but then that is not targeting traditional HTML.

Bottom line, what you are referring to as "they don't use css" looks a lot like the concept of an additional layer of abstraction ON TOP of CSS. True, those exist (and reasonably so), but they transpile to CSS.

Maybe we should ask a different question here: What other means exist besides CSS to tell browsers how to style DOM elements? I can't think of any besides the "good" old HTML2/3/4 elements and properties such as FONT, TABLE border cellpadding, etc.