Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/filipelinhares/ress
🚿 A modern CSS reset
https://github.com/filipelinhares/ress
css reset ress
Last synced: about 12 hours ago
JSON representation
🚿 A modern CSS reset
- Host: GitHub
- URL: https://github.com/filipelinhares/ress
- Owner: filipelinhares
- License: mit
- Created: 2015-08-19T17:40:00.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-06-12T22:47:09.000Z (over 1 year ago)
- Last Synced: 2024-10-29T15:45:40.264Z (about 1 month ago)
- Topics: css, reset, ress
- Language: CSS
- Homepage: https://ress.page
- Size: 369 KB
- Stars: 2,027
- Watchers: 37
- Forks: 433
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
- awesome-github-star - ress
- Awesome-CSS-Resources - ress:
- awesome-css-frameworks - Repo
- fucking-awesome-css-frameworks - Repo
README
![A brunch and the ress name](https://i.imgur.com/NHz9ef3.png)
Modern CSS reset
[![Build Status](https://travis-ci.org/filipelinhares/ress.svg?branch=master)](https://travis-ci.org/filipelinhares/ress) [![Size](https://img.shields.io/bundlephobia/min/ress?color=orange)](https://github.com/filipelinhares/ress/blob/master/dist/ress.min.css) [![npm](https://img.shields.io/npm/v/ress.svg)](https://npmjs.com/ress)
## Installation
```sh
npm install --save ress
```or
```sh
yarn add ress
```## Features
1. Apply `box-sizing: border-box;` in all elements.
2. Reset `padding` and `margin` in all elements.
3. Specify `background-repeat: no-repeat` in all elements and pseudo elements.
4. Inherit `text-decoration` and `vertical-align` to `::before` and `::after`.
5. Remove the `outline` when hovering in all browsers.
6. Specify `font-family: monospace` in code elements.
7. Reset `border-radius` in input elements.
8. Specify font inheritance of form elements.
9. Remove the default button styling in all browsers.
10. Specify textarea resizability to vertical.
11. Apply `cursor: pointer` to button elements.
12. Apply `tab-size: 4` in `html`.
13. Style `select` like a standard input.
14. Style `cursor` by aria attributes.## Crossbrowser
**ress** uses [Normalize.css](https://github.com/necolas/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
[**unpkg**](https://unpkg.com)
```sh
https://unpkg.com/ress/dist/ress.min.css
```[**jsDevlivr**](https://www.jsdelivr.com/)
```sh
# 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](LICENSE.md) © Filipe Linhares