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
{{ message }}
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.
HTML5 allows us to put data attributes inside any HTML element. These could be used to declare, within the HTML markup, what properties apply to what parts of the page. For example, one could write an element like this:
#!html
<ul data-role="horizontal-menu">
and write a Cornipickle rule (or set of rules) that apply to all elements with a given data-role. This would be orthogonal to using CSS classes.
Originally reported by: Sylvain Hallé (Bitbucket: sylvainhalle, GitHub: sylvainhalle)
HTML5 allows us to put data attributes inside any HTML element. These could be used to declare, within the HTML markup, what properties apply to what parts of the page. For example, one could write an element like this:
and write a Cornipickle rule (or set of rules) that apply to all elements with a given
data-role
. This would be orthogonal to using CSS classes.The text was updated successfully, but these errors were encountered: