An open API service indexing awesome lists of open source software.

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

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.