transition

Adds smooth animations to property changes. Core of interactions like hover effects. tall200msease is used in nearly every hover pattern.

Class List

ClassCSSDescription
tnonetransition: noneDisable transition
tpalltransition-property: allApply to all properties
tpnonetransition-property: noneApply to no properties
tfetransition-timing-function: easeDefault easing
tfeitransition-timing-function: ease-inSlow start
tfeotransition-timing-function: ease-outSlow end
tfeiotransition-timing-function: ease-in-outSlow start and end
tfltransition-timing-function: linearConstant speed
tall200mseasetransition: all 200ms easeMost common transition
tall300mseasetransition: all 300ms easeSlightly slower transition
tall300mstransition: all 300ms300ms default timing
topacity500mstransition: opacity 500msOpacity only transition

Shorthand Pattern Analysis

Transition shorthand: t + property + duration + timing function.

t{property}{duration}{timing}
PartRoleExample
ttransition 접두사t...
{property}적용 대상 속성all, opacity, transform
{duration}전환 시간200ms, 300ms, 500ms
{timing}타이밍 함수 (선택)ease, easein, linear

tall200msease = t(transition) + all(all properties) + 200ms(duration) + ease(timing)

Timing Function Comparison

Hover over each box to see timing function differences.

ease — tall300msease

Hover

Default. Smooth start and end (most natural)

ease-in — tall300mseasein

Hover

Slow start, fast end

ease-out — tall300mseaseout

Hover

Fast start, slow end

linear — tall300mslinear

Hover

Constant speed. For progress bars

Common Transitions

ClassCSSUsage
tall200mseasetransition: all 200ms ease버튼 호버, 링크 색상 변경 (가장 많이 사용)
tall300mseasetransition: all 300ms ease카드 호버, 약간 느린 전환이 필요할 때
tall300mstransition: all 300ms기본 타이밍 (ease가 브라우저 기본)
topacity500mstransition: opacity 500ms페이드 인/아웃 효과
<!-- Most common pattern: button hover -->
<button class="bg6366F1 hover-bg4F46E5 cFFFFFF tall200msease py8px px16px br8px bn cp">
  Smooth hover
</button>

<!-- Slightly slower card hover -->
<div class="bg1E1E2E hover-bg27272A tall300msease p2rem br8px cp">
  Card Content
</div>

<!-- Transition opacity only -->
<div class="o50 hover-o100 topacity500ms cp">
  Gradually becomes visible
</div>

Interactive Demo

Hover to see each transition effect.

Background color change

Hover
bg6366F1 hover-bg4F46E5 tall200msease

Opacity change

Hover
o50 hover-o100 topacity500ms

Shadow appears

Hover
bsn hover-bs... tall200msease

Transition Property

Specifies which properties to transition individually.

ClassCSS
tpalltransition-property: all
tpnonetransition-property: none

Transition Timing Function

Specifies the acceleration/deceleration curve.

ClassCSSDescription
tfetransition-timing-function: easeDefault. Start/end deceleration (most natural for UI)
tfeitransition-timing-function: ease-inSlow start. Elements exiting screen
tfeotransition-timing-function: ease-outSlow end. Elements entering screen
tfeiotransition-timing-function: ease-in-outSlow start and end. Round-trip animation
tfltransition-timing-function: linearConstant speed. Progress bars, loading

Common Patterns

Practical patterns combining transitions and hover.

PatternUsage
bg000000 hover-bg333333 tall200mseaseButton/link hover background transition
o0 hover-o100 tall300mseaseFade-in effect
bsn hover-bs0px4px12px0px6366F1 tall200mseaseShadow appears on hover
cFFFFFF hover-c6366F1 tall200mseasetext color transition
bg1E1E2E hover-bg27272A b1pxsolid27272A hover-bc6366F1 tall200mseaseCard hover (background + border)
<!-- Button hover (most common pattern) -->
<button class="bg000000 hover-bg333333 cFFFFFF tall200msease cp py8px px16px br8px bn">
  Button
</button>

<!-- Card hover (background + border simultaneous transition) -->
<div class="bg1E1E2E hover-bg27272A b1pxsolid27272A hover-bc6366F1 tall200msease p2rem br8px cp">
  <h3 class="cFAFAFA mb8px">Card Title</h3>
  <p class="c71717A fs14px">Background and border change simultaneously on hover</p>
</div>

<!-- Fade in -->
<div class="o0 hover-o100 tall300msease">
  Appears on mouse hover
</div>

<!-- Navigation link -->
<a class="c71717A hover-cFFFFFF tall200msease tdn cp">
  Smooth color transition
</a>

Tips & Notes

tall200msease is versatile

tall200msease is the most versatile transition. Sufficient for most interactions.

Avoid layout properties

width/height transitions cause reflow. Use transform/opacity instead.

ease vs linear

ease is smooth and natural for UI. linear is constant speed for progress bars/loading.

Transition specific properties only

tall transitions all properties. For performance, use specific like topacity500ms.