https://github.com/jongacnik/recsst
💦 Micro CSS reset
https://github.com/jongacnik/recsst
css reset
Last synced: 9 months ago
JSON representation
💦 Micro CSS reset
- Host: GitHub
- URL: https://github.com/jongacnik/recsst
- Owner: jongacnik
- Created: 2016-08-20T06:21:15.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-02-05T03:23:53.000Z (over 9 years ago)
- Last Synced: 2025-06-26T08:44:13.572Z (12 months ago)
- Topics: css, reset
- Language: JavaScript
- Size: 2.93 KB
- Stars: 15
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# recsst
Micro CSS reset.
```css
html { box-sizing: border-box }
*, *:before, *:after { box-sizing: inherit }
html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, dl,
dt, dd, blockquote, address { margin: 0; padding: 0 }
```
## Usage
```
npm i recsst
```
### CSS
```html
```
### JS
```js
const recsst = require('recsst')
recsst.attach()
```
Attaches style tag with the reset to the document head.
```js
recsst.toString()
```
Returns css as simple string. Generally useful for writing to file.