cssx-build
v0.2.0
Published
Compile CSS as a programming language
Downloads
553
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-build
Flags
--output
- Output directory for compiled CSS files. Default isdist
.--watch
- Watch for changes in thesrc
directory and compile CSSX files to CSS.--serve
- Serve the compiled CSS files on a local server.
Structure
├── dist
└── index.html
└── src
└── pages
└── index.cssx
This will compile your CSSX files to CSS in the dist
directory.