0.1.1 • Published 8 months ago

unocss-preset-transition v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

unocss-preset-transition

Unocss preset ships transition.css.

NPM VERSION NPM DOWNLOADS

Install

npm i unocss-preset-transition -D
yarn add unocss-preset-transition -D
pnpm add unocss-preset-transition -D

Usage

use presetTransition in your {uno,unocss}.config.{js,ts}:

import { defineConfig } from 'unocss'
import { presetTransition } from 'unocss-preset-transition'

export default defineConfig({
  presets: [presetTransition()],
})
<div class="w-100px h-100px bg-red"></div>

Options

export interface PresetTransitionOptions {}

License

MIT License © 2023-PRESENT ntnyq