amcss / attribute-module-specification

The Attribute-Module CSS (AMCSS) Specification
MIT License
394 stars 8 forks source link

What about attribute selectors efficiency #27

Closed aantipov closed 8 years ago

aantipov commented 8 years ago

Hi guys So the proposed approach is to use attribute selectors. But I'm just wondering how efficient they are? The following article from Mozilla says that attribute selectors are in a group of slowest selectors: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Writing_efficient_CSS

I know that the article is a little bit outdated but I couldn't find more up-to-date information on attribute selectors performance.

What do you think?

curtisblackwell commented 8 years ago

See #7

aantipov commented 8 years ago

Thanks @curtisblackwell !

curtisblackwell commented 8 years ago

:goat: