cssrecipes-defaults
Version:
Just a few handy default styles for your `<html>` pages
55 lines (34 loc) • 870 B
Markdown
Defaults
Just a few handy default styles for your `<html>` pages
# Install
```sh
npm install cssrecipes-defaults
```
# Usage
```css
@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_](https://github.com/DavidBruant/Better-CSS-defaults/)
---
# Testing
To generate a build:
```sh
npm run build
```
To generate the testing build.
```sh
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.
```sh
git clone https://github.com/cssrecipes/defaults.git
git checkout -b patch-1
npm install
npm test
```
# [Changelog](CHANGELOG.md)
# [License](LICENSE)