postcss / postcss-selector-matches

PostCSS plugin to transform :matches() W3C CSS pseudo class to more compatible CSS (simpler selectors)
MIT License
44 stars 9 forks source link

Fixed pseudo selectors with multiple matches in a selector #6

Closed jonathanKingston closed 9 years ago

jonathanKingston commented 9 years ago

Hey @MoOx,

So with cssnext I was running some code that had:

@custom-selector :--selector a;
@custom-selector :--other-selector b;
:--selector :--other-selector:hover {

Which was turning into:

ab:hover

Which it tracks back to this code here.

Let me know if there are any issues with this.

Thank you for all your hard work on this!

MoOx commented 9 years ago

Awesome. Thanks !

jonathanKingston commented 9 years ago

@MoOx :+1: thank you!