Skip to content

nemuvski/nacss

Repository files navigation

😶 nacss

npm npm npm npm

nacss (なくす in Japanese) is CSS to prepare a base for styling.

Inspired by normalize.css. It provides many great tips of CSS normalization till now.

Preview

You can see the preview of nacss styles here.

Support browsers

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)

Installation

npm install nacss
yarn add nacss

There's no need to install package if loading CSS file via CDN.

How to use

Just load CSS file in your project.

There are several ways to load CSS. The following shows how to load. Then of course, the choice is yours. 🐑

HTML

Insert <link> into <head>.

<link
  rel="stylesheet"
  href="https://cdn.jsdelivr.net/npm/nacss/dist/nacss.min.css"
/>

See here for valid version.

JavaScript

import 'nacss';

Stylesheet

@import 'nacss';
@import url(nacss);

/* via CDN */
@import url(https://cdn.jsdelivr.net/npm/nacss/dist/nacss.min.css);