recsst icon indicating copy to clipboard operation
recsst copied to clipboard

💦 Micro CSS reset

recsst

Micro CSS reset.

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

<link rel="stylesheet" href="recsst.css">

JS

const recsst = require('recsst')
recsst.attach()

Attaches style tag with the reset to the document head.

recsst.toString()

Returns css as simple string. Generally useful for writing to file.