Projets
À propos
🚿 Un reset CSS moderne
Développement web et applicatifWhat you can do
- Apply box-sizing: border-box; in all elements.
- Reset padding and margin in all elements.
- Specify background-repeat: no-repeat in all elements and pseudo elements.
- Inherit text-decoration and vertical-align to ::before and ::after.
Progression mesurée des étoiles
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +1
- in 1 month
- +2
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Original
Modern CSS reset
Installation
npm install --save ress
or
yarn add ress
Features
- 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. - Apply
tab-size: 4inhtml. - Style
selectlike a standard input. - Style
cursorby 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/[email protected]/dist/ress.min.css
# Development
https://cdn.jsdelivr.net/gh/filipelinhares/ress@latest/dist/ress.min.css
License
MIT © Filipe Linhares
Explorer des projets similaires
Chargement…