logoalt Hacker News

akerstenlast Thursday at 8:37 PM1 replyview on HN

- Why is picker a function like `::picker(select)`, and not a CSS pseudo class like `::before` to select the `select`'s `picker` component? I.e., `select::picker` makes a lot more sense to me.

- What about multi-choice (`multiple` attribute) `select`s?


Replies

smarkovyesterday at 7:10 AM

Because it's been trendy to introduce a new unintuitive syntax with every new CSS feature.

I am genuinely afraid for the future of CSS as it is becoming increasingly more complex, meanwhile most people haven't been able to properly utilize or understand it for the last decade even without all of that additional complexity.

show 1 reply