包详细信息

cssrecipes-defaults

cssrecipes1.8kMIT0.5.0

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

browser, style, css, css-components

自述文件

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

Changelog

License

更新日志

0.5.0 - 2014-12-09

  • Remove need for .r-Defaults (cause to much trouble (ref))
  • Explode defaults into lib/* so people can just use some pieces

0.4.0 - 2014-11-08

  • Update org prefix to r

0.3.0 - 2014-10-16

  • Remove overflow: auto (cause to much trouble with existing css & others libs)

0.2.0 - 2014-07-17

    • overflow: auto;
  • Use html & * inherit for more flexibility
  • Minor default background position improvement
  • More comments

0.1.0 - 2014-06-18

Initial release