Skip to content

cssrecipes/defaults

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Defaults

Just a few handy default styles for your <html> pages

Install

$ npm install cssrecipes-defaults

Usage

@import "./node_modules/cssrecipes-defaults/index.css";

This library output non scoped CSS (might html, body, etc). Use carefuly.

Credits

@DavidBruant's Better CSS defaults


Testing

To generate a build:

$ npm run build

To generate the testing build.

$ npm run build-test

Basic visual tests are in test/index.html.

Contributing

Work on a branch, install dev-dependencies, respect coding style & run tests before submitting a bug fix or a feature.

$ git clone https://github.com/cssrecipes/defaults.git
$ git checkout -b patch-1
$ npm install
$ npm test