Getting Started

Set up Master CSS in Astro

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

Quick start

1. Create an Astro project

If you don't have an Astro project, create one first. It's recommended to refer Getting Started :

npm create astro@latest
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. 🎉


Hello World

import Layout from '../layouts/Layout.astro';
<Layout title="Welcome to Astro.">
<h1 class="font:40 font:heavy italic m:50 text:center">
Hello World

© Aoyue Design LLC.
Issue on this page
Edited byJoy