Modern CSS reset
Installation
npm install --save ressor
bower install --save ressFeatures
- Apply
box-sizing: border-box;in all elements. - Reset
paddingandmarginin all elements. - Specify
background-repeat: no-repeatin all elements and pseudo elements. - Inherit
text-decorationandvertical-alignto::beforeand::after. - Remove the
outlinewhen hovering in all browsers. - Specify
font-family: monospacein code elements. - Reset
border-radiusin input elements. - Specify font inheritance of form elements.
- Remove the default button styling in all browsers.
- Specify textarea resizability to vertical.
- Apply
cursor: pointerto button elements.
Crossbrowser
ress uses Normalize.css under the hood with some customizations to apply a solid base to start your stylesheet.
Browser support
Inherit from Normalize
CDN
https://unpkg.com/ress/dist/ress.min.css# Production
https://cdn.rawgit.com/filipelinhares/ress/master/dist/ress.min.css
# Development
https://rawgit.com/filipelinhares/ress/master/dist/ress.min.cssLicense
MIT © Filipe Linhares
