mirror of
https://github.com/Sevichecc/Urara-Blog.git
synced 2025-05-06 15:49:14 +08:00
31 lines
720 B
Text
31 lines
720 B
Text
# @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'
|
|
```
|
|
|
|
|