🚨 Want mixins in CSS? Help the @csswg by telling us what feels natural to you! ...

@leaverou@front-end.social

🚨 Want mixins in CSS?
Help the @csswg by telling us what feels natural to you!

Look at the code in the screenshot. What resulting widths would you find least surprising?

A: All get 100px
B: div gets 100px, div > h2 gets 200px, div + p gets 300px
C: div gets 100px, div > h2 gets 200px, div + p gets no width*
D: div and div > h2 get 100px, div + p gets no width*

* from the mixin

Poll in front-end.social/@leaverou/116

Please answer based on what feels natural *to you*, it's not a quiz.