Add it to your project now via installation by NPM:
$ npm install api.css --save-dev
API.css is a modern CSS API, purpose built to streamline the creation of consistent CSS. It provides SASS/SCSS tools for easily recreating accessible colors, consistent typography and margin ladders, predefined viewport breakpoints, and various more tools for scaling your project across different devices and scenarios.
- Open a terminal (in this case, Bash) and install via NPM.
If you are unfamiliar with NPM, here is an installation guide.
$ npm install api.css --save-dev
- Make a new
api.scss
file and forward the package.
You can optionally configure any variables usingwith()
in SASS.
@forward "node_modules/api.css/scss/";
- Make a new
master.scss
file and write CSS using the package.
Learn more about what is possible with API.css.
@use "api" as *;
- Compile using SASS.
If you are unfamiliar with SASS, here is an installation guide.
$ sass --no-source-map master.scss master.css
API.css was built by Joshua Elijah Sandoval.
API.css is distributed under the MIT License.