CSS Modules, CSS Variables & the Future of Reusable CSS
But there's another core problem in CSS — sharing. What's the best way you could publish a CSS framework like Bootstrap? How could publish a suite of React components with styling that is customisable yet consistent? Where do Web Components fit into the mix? Despite all the progress we and other teams have made, these questions remain unanswered.
But there is a change coming. Native CSS Variables are now supported in a majority of browsers and have the power to completely upend the way we write and share CSS. This is a talk about how that might happen.