normalize.css.styl
add normalize()
mixin using normalize.css/normalize.css
Installation
npm install normalize.css.styl --save
or, force latest normalize.css
installation using @newest
.
npm install normalize.css.styl@newest --save
Usage
Via CLI
// index.styl@import 'normalize.css.styl' )
stylus --use normalize.css.styl index.styl# /* normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */ # /** # * 1. Change the default font family in all browsers (opinionated). # * 2. Prevent adjustments of font size after orientation changes in IE and iOS. # */ # html { # ...
Via API
;; ;
Mixins
normalize()
expand the normalize.css
in the execute position.
In
@import 'normalize.css.styl')
Out
/* normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css *//** * 1. Change the default font family in all browsers (opinionated). * 2. Prevent adjustments of font size after orientation changes in IE and iOS. */
In
@import 'normalize.css.styl'#container )
Out
/* normalize.css v4.1.1 | MIT License | github.com/necolas/normalize.css */
Related projects
Development
Requirement global
- NodeJS v6.2.1
- Npm v3.9.3 (or pnpm)
git clone https://github.com/59naga/normalize.css.stylcd normalize.css.stylnpm install npm test