-
I really want this: [data-layout] { /* attr(attribute-name <type-or-unit>, fallback) */ grid-area: attr(data-layout custom-ident, auto / 1 / auto / -1); } Basically the never-implemented CSS3 attr() spec, with new(?)
custom-ident
type. Huge for layout systems. -
This is not how it should look: codepen.io/mirisuzanne/pen/oRKPQJ
-
All that extra might have diluted the message: [data-layout] { grid-area: attr(data-layout); }