JSPM

@master/css

1.17.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 376
  • Score
    100M100P100Q92036F
  • License MIT

A Virtual CSS language with enhanced syntax. ( ~13KB )

Package Exports

  • @master/css
  • @master/css/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@master/css) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme



logo

CSS

A Virtual CSS language with enhanced syntax. ( ~13KB )

MIT License Latest Release Bundle Size Package Size Documentation Github Discord CI

image

Documentation

Community

Extension

On this page

Quick Start

This is just a quick start guide, the official documentation here.

1. Download

npm install @master/css

Or use a CDN

<script src="https://cdn.jsdelivr.net/npm/@master/css"></script>

2. Import into your js file

import '@master/css'

Hello World

<h1 class="font:40 font:heavy bg:blue:hover m:50 text:center@md">
    Hello World
</h1>

Next, learn the common Syntax - Master CSS!

Official Normal CSS

Normalize browser's styles: @master/normal.css

import @master/normal.css into your global css file

@import '@master/normal.css';

or use a CDN

<link href="https://cdn.jsdelivr.net/npm/@master/normal.css" rel="stylesheet">