|
|
|
|
|
by ry_ry
2558 days ago
|
|
I'm taking about classes with an enforced 1:1 relationship with a DOM node, via a unique computed className. Since there is no requirement for a cascade for this, you've effectively made an ID out of a class. All the reasons styling off IDs isn't ideal in the traditional CSS metaphor still apply, specificity, verbose stylesheets, etc. But now it's defined as a class too. |
|