top | item 44980549

(no title)

Inviz | 6 months ago

hmm... where to start?

  - Variables cascade and cause restyle of whole sub-tree.
  - Attributes often are already on the html element, e.g. title, aria, data attributes, so dont need inline styles
  - Not mixing data with presentation
Just to name a few

discuss

order

chrisandchris|6 months ago

But if you‘re defining the style within the data (the width within the HTML as data attribute), aren‘t you actually mixing presentation with data?