cssx-build
v0.3.2
Published
Compile CSS as a programming language
Maintainers
Readme
CSSX
Compile CSS as a programming language.
Documentation
- Getting Started - Learn how to get started with CSSX.
- Reference - Learn about the CSSX syntax and features.
Usage
Write your CSS in .cssx files in src/pages directory. Then run the following commands:
npx cssx-buildFlags
--output- Output directory for compiled CSS files. Default isdist.--watch- Watch for changes in thesrcdirectory and compile CSSX files to CSS.--serve- Serve the compiled CSS files on a local server.
Structure
├── dist
└── index.html
└── src
└── pages
└── index.cssxThis will compile your CSSX files to CSS in the dist directory.
