skooler / cyanotype.css

A convenient alternative to CSS resets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cyanotype CSS

A convenient alternative to CSS resets.

Features

  • Ensures consistency across browsers
  • Prevents the re-setting user agent styles
  • Ensures consistently set margins only downward

Installation

$ npm install cyanotype.css

Usage

HTML:

<link href="/path/to/cyanotype.css" rel="stylesheet">

CSS:

@import "/path/to/cyanotype.css";

Utility classes

.screen-reader-only class

For HTML elements that should remain in the document but should be visually hidden, specifies this class:

<p class="screen-reader-only">Screen reader only text</p>

License

MIT

About

A convenient alternative to CSS resets

License:MIT License


Languages

Language:CSS 53.0%Language:HTML 45.6%Language:JavaScript 1.3%