2 ms·
Does this mean never put style strings in html? Whether by style-attr, JS or CSS, that html tree has to get style attributes somehow. I sort of accepted a simi
by Chris2048 6y ago
Does this mean never put style strings in html? Whether by style-attr, JS or CSS, that html tree has to get style attributes somehow.
I sort of accepted a similar view, that functionality and presentation should be separate (although base html isn't necessarily representative of either).
Now have a more nuanced view: functionality and presentation don't map strictly to logic (js) and style (CSS) - I think there is such a thing as presentation logic, versus data logic.