You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is already a shorthand for classes, but you do need to write out the tag name (e.g. div.this-is-a-class). This restriction is to avoid ambiguity: if you write something like div .foo it would be unclear whether you meant two nested <div>s or just one. See #28.
There's not yet a shorthand for IDs though, and I'd welcome a PR for that :)
Would it be possible to write something like this:
Which would be a div with the class 'this-is-a-class' and the id 'and_id'. It would make writing a bit more ergonomic.
The text was updated successfully, but these errors were encountered: