Peter-Paul Koch
Follow

Are you a JavaScript engineer who really ought to know some CSS but is avoiding it?
What are your main pain or confusion points?
I want to help you, but I need to understand the problem first.

· Web · 4 · 1

@ppk Judging by the code:

1. Specificity, inheritance, and the cascade.
2. How tools like Sass and Less generate their output and affect the former.

In particular, I think the cascade is viewed as "global scope," and something to fight instead of work with.

0
0

@webinista Yes, the cascade is a clear pain point. But I'm not sure whether explaining it again would help; I need to understand what JS peeps expect.

0
0

@ppk My biggest gripe with CSS is all the side effects baked into the spec. Like how used values for "auto" change depending on context, or how setting opacity can change your layout. The cause-and-effect is difficult to trace, so you end up just playing with values until you get what you want. It's hardly an inspiring environment to work in.

I'm working on a Chrome extension that will hopefully help with this but it's not an easy road.

0
1
Mastodon

This page describes the mastodon.social instance - wondering what Mastodon is? Check out joinmastodon.org instead! In essence, Mastodon is a decentralized, open source social network. This is just one part of the network, run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!

Hero image by @b_cavello