this post was submitted on 23 Mar 2024
111 points (94.4% liked)
Programmer Humor
19804 readers
443 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I see you are a thin skinned idiot that can't understand your own fucking link
my point is that css is meant to determine appearance and logic should be handled elsewhere.
Well, ehm.. Thank you for the feedback I guess?
I appreciate your clarification: you mean that the logic part of conditional appearance should be handled by, for example, changing a property on an HTML node, and styling that property in CSS, did I get that right?
If I may offer some feedback in return, I would recommend you work on your phrasing. Insulting people can easily lead to being ignored or having low-value interactions. Asshole. 😉
CSS has always combined the styling and the logic for the styling. CSS selectors implement logic to determine where to apply styles