Modern CSS reset
npm install --save ress
or
bower install --save ress
- Apply
box-sizing: border-box;
in all elements. - Reset
padding
andmargin
in all elements. - Specify
background-repeat: no-repeat
in all elements. - Inherit
text-decoration
andvertical-align
to::before
and::after
. - Remove the
outline
when hovering in all browsers. - Specify
font-family: monospace
in code elements. - Reset
border-radius
in input elements. - Specify font inheritance of form elements.
- Remove the default button styling in all browsers.
- Specify textarea resizability to vertical.
- Apply
cursor: pointer
to button elements.
ress uses Normalize.css under the hood with some customizations to apply a solid base to start your stylesheet.
Inherit from Normalize
MIT © Filipe Linhares