Getting Started

Set up Master CSS in Svelte

A quick guide to start using Master CSS in your Svelte project.

Quick start

1. Create a Svelte project

If you don't have a Svelte project, create one first. It's recommended to refer Create Svelte Project:

npx degit sveltejs/template project
cd project

2. Installation

npm install @master/css

3. Import

import '@master/css';

4. Launch server

npm run dev

Hello world

Now, start developing your UI with Master CSS. 🎉

localhost:8080

Hello World

<h1 class="font:40 font:blue font:heavy italic m:50 text:center">
Hello World
</h1>

© Aoyue Design LLC.
Issue on this page
Edited byLola