You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
720 B
32 lines
720 B
2 years ago
|
# @unocss/reset
|
||
|
|
||
|
Collection of standard reset CSS stylesheets.
|
||
|
|
||
|
```bash
|
||
|
npm i @unocss/reset
|
||
|
```
|
||
|
|
||
|
```ts
|
||
|
// main.js
|
||
|
// pick one of the following
|
||
|
|
||
|
// normalize.css https://necolas.github.io/normalize.css/
|
||
|
import '@unocss/reset/normalize.css'
|
||
|
|
||
|
// sanitize.css https://github.com/csstools/sanitize.css#usage
|
||
|
import '@unocss/reset/sanitize/sanitize.css'
|
||
|
import '@unocss/reset/sanitize/assets.css'
|
||
|
|
||
|
// reset.css by Eric Meyer https://meyerweb.com/eric/tools/css/reset/index.html
|
||
|
import '@unocss/reset/eric-meyer.css'
|
||
|
|
||
|
// preflights from tailwind
|
||
|
import '@unocss/reset/tailwind.css'
|
||
|
|
||
|
// opinionated reset by Anthony Fu
|
||
|
// https://github.com/unocss/unocss/blob/main/packages/reset/antfu.md
|
||
|
import '@unocss/reset/antfu.css'
|
||
|
```
|
||
|
|
||
|
|