unocss-preset-transition
v0.2.0
Published
unocss preset for transition.css
Downloads
146
Maintainers
Readme
unocss-preset-transition
Unocss preset ships transition.css.
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 {}