Replying to Avatar Matthew

nostr:npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk It's CSS modules: https://css-tricks.com/css-modules-part-1-need/ - so they (allegedly) don’t need to worry about scope or CSS of one bit interfering with another bit.

nostr:npub15c3n2edatqauwtm8wgknrnemxwxa5kar8sswq6sngnjmkwszuxtsnhkl09 bah! CSS was a mistake. Plain text FTW!

Reply to this note

Please Login to reply.

Discussion

nostr:npub19lt4284mghqxekzm6n5njxurnxrxhqhrva2leusdsuu5ja5jeycq66qfjk Nah, JS programmers thinking they’re best and know “easy” declarative CSS was the mistake ;)

https://lit.dev/ looks like it does both scoping and keeps your own class names, so that’s perhaps nice if you want to use that type of thing. I’ll stick to (trying to) BEM ;-)