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, outline-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;
tp:w
transition-property: width;

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.