sdxc

Type to search, or start from one of these:

effects

transition-property

Applies transition-property on its own, so a variant can change which properties animate while the duration and timing function declared elsewhere stay in place.

import { transitionProperty } from "@sdxc/u/effects";

Quick reference

Every documented call, beside the CSS it emits.

CallCSS
u.transitionProperty("transform")css({ transitionProperty: "transform" })

Using a custom value

Every scale argument also takes a raw CSS value, which passes through untouched.

u.transitionProperty("transform")

Applying on a state

Wrap the call in a state utility to scope it to one selector.

u.hover(u.transitionProperty("transform"))

Responsive design

Wrap the call in a container query to scope it to one width.

u.at("md", u.transitionProperty("transform"))

Signature

u.transitionProperty(value: string)