Card Resize
Fluid layout resizing with --p4-dur and --p4-ease.
.t-resizetransitions.marcow.poke.site
A complete interactive reference for all 21 transition skills from the Transitions.dev spec by Jakub Antalík. Native CSS and View Transitions API only.
| Token | Value | Used for |
|---|---|---|
| --p1-dur | 150ms | Micro-interactions |
| --p2-dur | 200ms | Icon swaps, toggles, dropdowns |
| --p3-dur | 250ms | State changes, toasts |
| --p4-dur | 300ms | Layout resize, panels |
| --p4-ease | cubic-bezier(0.22, 1, 0.36, 1) | Exit ease |
Fluid layout resizing with --p4-dur and --p4-ease.
.t-resizeOpacity + translateY(-8px) scale(0.96) entry with --p2-dur and --p4-ease.
.t-dropdownCentered panel with scale and fade overlay.
.t-modal-overlayScale(0.5) + blur(2px) for hidden icon state.
.t-icon-swapSpringy confirmation animation.
.t-success-checkTactile scale down on press.
.t-button-pressSmooth thumb travel and track fill.
.t-toggle-thumbSlide up from bottom with fade.
.t-toastScale-95 entry from bottom center.
.t-tooltipGrid-template-rows reveal with rotating icon.
.t-accordion-contentAnimated underline and crossfade panel.
.t-tab-panelPanel slides in from the right edge.
.t-slide-overBottom sheet rising from the viewport edge.
Rises with --p4-dur ease.
.t-sheetScale-95 entry from top center.
.t-popoverShimmer loading placeholder.
.t-skeletonClip-path wipe reveal from top to bottom.
.t-image-revealItems smoothly move to new positions.
.t-list-reorderView Transitions API morphs elements between states.
document.startViewTransitionCard lifts and brightens border on hover.
It lifts 4px and the border lightens.
.t-hover-liftSequential fade-and-rise entrance.
.t-staggerForm error shake animation over 400ms.
.t-error-shake