Package Exports
- ress
- ress/dist/ress.min.css
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ress) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Modern CSS reset
Installation
npm install --save ress
or
yarn add ress
Features
- Apply
box-sizing: border-box;
in all elements. - Reset
padding
andmargin
in all elements. - Specify
background-repeat: no-repeat
in all elements and pseudo 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. - Apply
tab-size: 4
inhtml
. - Style
select
like a standard input. - Style
cursor
by aria attributes.
Crossbrowser
ress uses Normalize.css under the hood with some customizations to apply a solid base to start your stylesheet.
Browser support
- Chrome
- Edge
- Firefox ESR+
- Internet Explorer 10+
- Opera
- Safari 8+
CDN
https://unpkg.com/ress/dist/ress.min.css
# Production
https://cdn.jsdelivr.net/npm/ress@4.0.0/dist/ress.min.css
# Development
https://cdn.jsdelivr.net/gh/filipelinhares/ress@latest/dist/ress.min.css
License
MIT © Filipe Linhares