strcss
v3.8.5
Published
StrCSS gives you super power with enclosed style sheets for component based systems. Simple, light weight, super fast, custom properties and selectors for your front-end!
Downloads
22
Maintainers
Readme
StrCSS gives you super power with enclosed style sheets for component based systems. Simple, light weight, super fast, custom properties and selectors for your front-end! 🧞♀️
≪ Documentation · VSCode Extension · Buy me a Coffee ≫
Made with ♥ by Jeffrey Lanters
Installation
Install using NPM for your JS or TS project.
$ npm install strcss --save
Features
Enclosed style sheets for component based systems, custom properties and shorthands, native selectors, platform selectors, device selectors, simple syntax and light weight and fully css-backwards-compatbile.
Usage
ReactJS Example. Get started by importing the Sheet class for StrCSS. You should create a sheet for every component. StrCSS makes sure they don't get mixed up. When you've created your first map, grab it from from the sheet object and use it as a classname. Visit the documentation for for more details and implementation examples.