Installation
Getting started with AltCSS is straightforward. You can install it using your preferred package manager.
Choose one of the following methods to install AltCSS:
Using npm:
npm install altcss
Using pnpm:
pnpm add altcss
Using bun:
bun add altcss
Usage
After installation, import AltCSS in your project. For example, in SvelteKit, you would import this under the script tag of +layout.svelte:
import 'altcss/alt.min.css';
That’s it! You’re now ready to use AltCSS in your project.