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
Note: Hyperscript supports hyphens in object property names, so you can write add { font-size: '2em' }. However, double hyphens (--) mark comments in hyperscript, so if you need to use them for [CSS Custom Properties][], use quotes -- add { '--big-font-size': '2em' }.
But in the 0.8.4 release notes it says:
Comments now require two dashes and a space, like so: -- , which enables double dashes in class literals like so: add .foo--bar
So I guess the note can be removed, right?
Happy to open a PR if that's the case
PS: I'm also happy to add a note on using class names with a dash in them, as is frequent with TailwindCSS utilities. (.{'foo-bar'})
The text was updated successfully, but these errors were encountered:
In the add docs it says
But in the 0.8.4 release notes it says:
So I guess the note can be removed, right?
Happy to open a PR if that's the case
PS: I'm also happy to add a note on using class names with a dash in them, as is frequent with TailwindCSS utilities. (
.{'foo-bar'}
)The text was updated successfully, but these errors were encountered: