Skip to main content

Transition Property

Set which properties have a transition effect.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari

tp:a
transition-property: all;
tp:bs
transition-property: box-shadow;
tp:c
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
tp:d
transition-property: height, width;
tp:h
transition-property: height;
tp:none
transition-property: none;
tp:o
transition-property: opacity;
tp:t
transition-property: transform, translate, scale, rotate;
tp:w
transition-property: width;

tp:t transitions transform, translate, scale & rotate, so a press like tp:t tdu:200 a:s:90 animates.

Media Queries

Prefix a class with a breakpoint to apply it from that width up.

Pseudo Classes

Prefix a class with a state to apply it only while that state matches.