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-atransition-property: all;tp-bstransition-property: box-shadow;tp-ctransition-property: color, background-color, border-color, text-decoration-color, fill, stroke;tp-dtransition-property: height, width;tp-htransition-property: height;tp-nonetransition-property: none;tp-otransition-property: opacity;tp-ttransition-property: transform;tp-wtransition-property: width;Responsiveness
Use breakpoint prefixes to target different screen sizes. Styles apply from the breakpoint & up.
Target viewport sizes with breakpoint prefixes.
sm:tp-(value)Small≥640px
md:tp-(value)Medium≥768px
lg:tp-(value)Large≥1024px
xxl:tp-(value)Extra Large≥1536px
Hover State
Apply styles conditionally on hover using the h: prefix.
Add the h: prefix to apply styles only when the user hovers over the element.
Syntax:
h:tp-(value)