terribleMia’s avatarterribleMia’s Twitter Archive—№ 6,192

  1. 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.
    1. …in reply to @TerribleMia
      This is not how it should look: codepen.io/mirisuzanne/pen/oRKPQJ
      1. …in reply to @TerribleMia
        All that extra might have diluted the message: [data-layout] { grid-area: attr(data-layout); }