For the last few months I’ve been (re)-learning vanilla CSS. Initially I did not ‘get’ how to structure CSS to take advantage of the ‘cascade’ and avoid specificity issues. Thus gravitated toward TailwindCSS. But now that I’m starting to grok vanilla CSS better, and especially modern features like layers, custom HTML elements and Declarative Shadow DOM, it is a game changer!
I’m working on upgrading my CSS knowledge too. Are there any good resources that you’ve found?
I just learned Tailwind, and have been inspecting the generated CSS (hover in vscode) to see what CSS it generates.
I’ve had these bookmarked for a while. - just not had time to go through them yet:
If you do please let us know what you think!
There’s also the tailwind book: book-modern-css-with-tailwind-second-edition
(PS I moved these posts into a separate thread as I imagine lots of people will be interested!)
Plus one on CSS tricks, can also recommend Kevin Powell on YouTube:
This is not free, but I heard this is good. https://css-for-js.dev/