Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leny/box-sizing-reset.css
https://github.com/leny/box-sizing-reset.css
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/leny/box-sizing-reset.css
- Owner: leny
- License: unlicense
- Created: 2021-02-20T19:46:14.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-02-20T19:50:43.000Z (over 3 years ago)
- Last Synced: 2024-10-12T04:28:10.587Z (about 1 month ago)
- Language: CSS
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# box-sizing-reset.css
> Just the simple [box-sizing reset](https://www.paulirish.com/2012/box-sizing-border-box-ftw/), as plain css, in npm.
* * *
## Usage
Install with `npm install box-sizing-reset.css`.
Use in your app with
```js
import "box-sizing-reset.css;
```## Content
It's simply the plain [box-sizing reset](https://www.paulirish.com/2012/box-sizing-border-box-ftw/), as following:
```css
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
```
* * *