strcss
TypeScript icon, indicating that this package has built-in type declarations

3.8.5 • Public • Published


npm npm npm npm npm

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.

Examples

Package Sidebar

Install

npm i strcss

Weekly Downloads

2

Version

3.8.5

License

ISC

Unpacked Size

57.8 kB

Total Files

93

Last publish

Collaborators

  • jefflanters