3 ms·
cool. any blessed scoped styling solution or is it the usual wild west?
by swyx 4y ago
cool. any blessed scoped styling solution or is it the usual wild west?
- hakre 4y agowild west? as far as CSS is concerned the cascade should be well known and for scoping its (in order of preference): 1. user 2. client 3. document and within document its in "components", but those are unknown from the start so we defer the details (which must not but can lead to "wild west"). programming is hard, thought. would love to have that holy grail solved, too (apart from the famous three column layout).
- jakelazaroff 4y agoYup, CSS modules work out of the box. https://start.solidjs.com/core-concepts/css-and-styling https://start.solidjs.com/core-concepts/css-and-styling