April 27, 2018 03:10 pm GMT
Original Link: http://css-blocks.com/
CSS Blocks
A new entry into the CSS-in-JS landscape! Looks like the idea is that you write an individual CSS file for every component. You have to work in components, that's how the whole thing works. In the same isle as styled-components, css-modules, and glamorous.
Then you write :scope { }
which is the base style for that component. Which I guess means you get out of having to pick a name! But also means you're pretty locked in …
The post CSS Blocks appeared first on CSS-Tricks.
Original Link: http://css-blocks.com/
Share this article:
Tweet
View Full Article