[{"data":1,"prerenderedAt":2579},["ShallowReactive",2],{"page-\u002Fcss-only-micro-interactions-animations\u002Fcss-transition-fundamentals\u002Ftransition-delay-choreography":3,"content-all-pages":2014,"live-demo:transition-choreography":2573},{"id":4,"title":5,"body":6,"description":1995,"extension":1996,"meta":1997,"navigation":380,"path":2010,"seo":2011,"stem":2012,"__hash__":2013},"content\u002Fcss-only-micro-interactions-animations\u002Fcss-transition-fundamentals\u002Ftransition-delay-choreography\u002Findex.md","Choreographing Motion With transition-delay",{"type":7,"value":8,"toc":1984},"minimark",[9,18,41,46,49,52,165,169,172,176,1538,1548,1552,1559,1621,1629,1633,1636,1643,1650,1656,1659,1663,1666,1826,1838,1842,1845,1885,1889,1904,1908,1917,1923,1939,1945,1949,1981],[10,11,13,14],"h1",{"id":12},"choreographing-motion-with-transition-delay","Choreographing Motion With ",[15,16,17],"code",{},"transition-delay",[19,20,21,22,26,27,29,30,35,36,40],"p",{},"When several things change at once — a card lifts, its image zooms, its caption slides up, its button fades in — running every transition simultaneously produces a single undifferentiated lurch. Staggering them a few tens of milliseconds apart turns the same changes into a sequence the eye can follow: the card moves, ",[23,24,25],"em",{},"then"," its content responds. ",[15,28,17],{}," is the tool, and used with care it adds clarity rather than slowness. This page covers delays per property and per element, delays that differ by direction, staggered lists, and the budget that keeps choreography from becoming waiting. It belongs to ",[31,32,34],"a",{"href":33},"\u002Fcss-only-micro-interactions-animations\u002Fcss-transition-fundamentals\u002F","CSS Transition Fundamentals"," in the ",[31,37,39],{"href":38},"\u002Fcss-only-micro-interactions-animations\u002F","CSS-Only Micro-Interactions & Animations"," guide.",[42,43,45],"h2",{"id":44},"why-sequence-at-all","Why sequence at all",[19,47,48],{},"Motion communicates cause and effect. When a user hovers a card and everything in it changes at the same instant, the motion says only \"something happened\". When the card lifts first and its caption follows a beat later, the motion says \"the card responded to you, and revealed more\". That ordering makes interfaces feel considered and helps users understand which element is primary. A little planning up front — which element leads, which follow, and how long the whole sequence may take — saves hours of tweaking individual delays later.",[19,50,51],{},"The same principle, applied carelessly, produces sluggish interfaces. Each delay adds to the time before the final state is visible. A hover whose last element settles 600 milliseconds after the pointer arrives feels unresponsive, however elegant the sequence. Choreography therefore always comes with a budget.",[53,54,60,61,60,65,60,69,60,77,60,86,60,91,60,95,60,99,60,103,60,106,60,113,60,122,60,126,60,131,60,135,60,141,60,145,60,150,60,154,60,160],"svg",{"viewBox":55,"role":56,"ariaLabel":57,"xmlns":58,"style":59},"0 0 720 300","img","Timeline of a card hover: card lift at 0ms, image zoom at 40ms, caption at 80ms, button at 120ms, all finishing within about 400ms","http:\u002F\u002Fwww.w3.org\u002F2000\u002Fsvg","width:100%;height:auto;max-width:720px;margin:2rem 0","\n  ",[62,63,64],"title",{},"A staged hover, under 400 milliseconds",[66,67,68],"desc",{},"Four bars on a time axis. The card lift starts at zero and lasts 250 milliseconds. The image zoom starts at 40. The caption starts at 80. The button starts at 120 and ends near 370 milliseconds, inside a 400 millisecond budget.",[70,71,76],"text",{"textAnchor":72,"x":73,"y":74,"style":75},"middle","360","26","text-anchor:middle;fill:currentColor;font:700 17px sans-serif","Cause first, effects a beat later",[78,79],"line",{"x1":80,"y1":81,"x2":82,"y2":81,"stroke":83,"strokeWidth":84,"opacity":85},"140","236","680","currentColor","1.5","0.6",[70,87,90],{"textAnchor":72,"x":80,"y":88,"style":89},"256","text-anchor:middle;fill:currentColor;font:11px ui-monospace,monospace","0",[70,92,94],{"textAnchor":72,"x":93,"y":88,"style":89},"275","100",[70,96,98],{"textAnchor":72,"x":97,"y":88,"style":89},"410","200",[70,100,102],{"textAnchor":72,"x":101,"y":88,"style":89},"545","300",[70,104,105],{"textAnchor":72,"x":82,"y":88,"style":89},"400ms",[70,107,112],{"textAnchor":108,"x":109,"y":110,"style":111},"end","130","72","text-anchor:end;fill:currentColor;font:12px sans-serif","card lift",[114,115],"rect",{"x":80,"y":116,"width":117,"height":118,"rx":119,"fill":120,"opacity":121},"58","338","22","4","#7aa2ff","0.55",[70,123,125],{"textAnchor":108,"x":109,"y":124,"style":111},"112","image zoom",[114,127],{"x":128,"y":129,"width":117,"height":118,"rx":119,"fill":120,"opacity":130},"194","98","0.45",[70,132,134],{"textAnchor":108,"x":109,"y":133,"style":111},"152","caption",[114,136],{"x":137,"y":138,"width":139,"height":118,"rx":119,"fill":120,"opacity":140},"248","138","270","0.35",[70,142,144],{"textAnchor":108,"x":109,"y":143,"style":111},"192","button",[114,146],{"x":147,"y":148,"width":98,"height":118,"rx":119,"fill":120,"opacity":149},"302","178","0.28",[78,151],{"x1":82,"y1":152,"x2":82,"y2":81,"stroke":83,"strokeDashArray":153,"opacity":85},"50",[119,119],[70,155,159],{"textAnchor":108,"x":156,"y":157,"style":158},"672","46","text-anchor:end;fill:currentColor;font:11px sans-serif","budget",[70,161,164],{"textAnchor":72,"x":73,"y":162,"style":163},"284","text-anchor:middle;fill:currentColor;font:12px sans-serif","40ms steps are enough to read as a sequence without feeling slow.",[42,166,168],{"id":167},"the-complete-implementation","The complete implementation",[19,170,171],{},"The card below sequences four changes on hover and focus, reverses them in the opposite order on exit, and removes the choreography for reduced motion.",[173,174],"live-demo",{"name":175},"transition-choreography",[177,178,183],"pre",{"className":179,"code":180,"language":181,"meta":182,"style":182},"language-html shiki shiki-themes github-light-high-contrast github-dark-high-contrast","\u003C!doctype html>\n\u003Chtml lang=\"en\">\n\u003Chead>\n\u003Cmeta charset=\"utf-8\">\n\u003Cmeta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\u003Ctitle>Transition choreography\u003C\u002Ftitle>\n\u003Cstyle>\n  :root {\n    --step: 40ms;                                   \u002F* one beat *\u002F\n    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);\n  }\n\n  body { font: 15px\u002F1.5 system-ui, sans-serif; margin: 2rem; }\n\n  .story {\n    display: grid;\n    max-width: 18rem;\n    border-radius: 14px;\n    overflow: hidden;\n    background: #0f172a;\n    color: #f8fafc;\n    text-decoration: none;\n    \u002F* EXIT timing lives on the base rule: the card settles LAST, so its\n       delay is the largest; the button leaves first. *\u002F\n    transition: translate 220ms var(--ease-out) calc(var(--step) * 2);\n  }\n\n  .story__img {\n    aspect-ratio: 4 \u002F 3;\n    background: linear-gradient(135deg, #38bdf8, #6366f1);\n    transition: scale 260ms var(--ease-out) var(--step);\n  }\n  .story__caption {\n    padding: 0.9rem 1rem 0.2rem;\n    translate: 0 0.5rem;\n    opacity: 0.7;\n    transition: translate 220ms var(--ease-out) 0ms, opacity 220ms ease 0ms;\n  }\n  .story__cta {\n    margin: 0 1rem 1rem;\n    opacity: 0;\n    transition: opacity 160ms ease 0ms;\n  }\n\n  \u002F* ENTRY timing lives on the hovered state: cause first (the card),\n     then image, caption and button, one beat apart. *\u002F\n  .story:is(:hover, :focus-visible) {\n    translate: 0 -4px;\n    transition: translate 220ms var(--ease-out) 0ms;\n  }\n  .story:is(:hover, :focus-visible) .story__img {\n    scale: 1.05;\n    transition: scale 260ms var(--ease-out) var(--step);\n  }\n  .story:is(:hover, :focus-visible) .story__caption {\n    translate: 0 0;\n    opacity: 1;\n    transition: translate 220ms var(--ease-out) calc(var(--step) * 2),\n                opacity 220ms ease calc(var(--step) * 2);\n  }\n  .story:is(:hover, :focus-visible) .story__cta {\n    opacity: 1;\n    transition: opacity 160ms ease calc(var(--step) * 3);\n  }\n  .story:focus-visible { outline: 3px solid #facc15; outline-offset: 3px; }\n\n  \u002F* Reduced motion: no movement, no waiting. The CTA simply appears. *\u002F\n  @media (prefers-reduced-motion: reduce) {\n    .story, .story * { transition-duration: 1ms !important; transition-delay: 0ms !important; }\n    .story:is(:hover, :focus-visible) { translate: none; }\n    .story:is(:hover, :focus-visible) .story__img { scale: none; }\n  }\n\u003C\u002Fstyle>\n\u003C\u002Fhead>\n\u003Cbody>\n  \u003Ca class=\"story\" href=\"\u002Fstories\u002Fcoast\u002F\">\n    \u003Cdiv class=\"story__img\" role=\"img\" aria-label=\"Coastline\">\u003C\u002Fdiv>\n    \u003Cdiv class=\"story__caption\">\u003Ch3>Along the coast\u003C\u002Fh3>\u003C\u002Fdiv>\n    \u003Cspan class=\"story__cta\">Read the story →\u003C\u002Fspan>\n  \u003C\u002Fa>\n\u003C\u002Fbody>\n\u003C\u002Fhtml>\n","html","",[15,184,185,204,224,234,252,277,291,301,310,334,369,375,382,432,437,445,459,474,489,502,515,528,541,547,553,601,606,611,619,637,667,696,701,709,734,751,764,804,809,817,837,848,869,874,879,885,891,910,926,951,956,976,989,1016,1021,1041,1054,1065,1103,1134,1139,1159,1170,1202,1207,1243,1248,1254,1263,1305,1331,1359,1364,1374,1383,1393,1419,1458,1489,1510,1520,1529],{"__ignoreMap":182},[186,187,189,193,197,201],"span",{"class":78,"line":188},1,[186,190,192],{"class":191},"suds8","\u003C!",[186,194,196],{"class":195},"sne4z","doctype",[186,198,200],{"class":199},"s-5SL"," html",[186,202,203],{"class":191},">\n",[186,205,207,210,212,215,218,222],{"class":78,"line":206},2,[186,208,209],{"class":191},"\u003C",[186,211,181],{"class":195},[186,213,214],{"class":199}," lang",[186,216,217],{"class":191},"=",[186,219,221],{"class":220},"sT6z2","\"en\"",[186,223,203],{"class":191},[186,225,227,229,232],{"class":78,"line":226},3,[186,228,209],{"class":191},[186,230,231],{"class":195},"head",[186,233,203],{"class":191},[186,235,237,239,242,245,247,250],{"class":78,"line":236},4,[186,238,209],{"class":191},[186,240,241],{"class":195},"meta",[186,243,244],{"class":199}," charset",[186,246,217],{"class":191},[186,248,249],{"class":220},"\"utf-8\"",[186,251,203],{"class":191},[186,253,255,257,259,262,264,267,270,272,275],{"class":78,"line":254},5,[186,256,209],{"class":191},[186,258,241],{"class":195},[186,260,261],{"class":199}," name",[186,263,217],{"class":191},[186,265,266],{"class":220},"\"viewport\"",[186,268,269],{"class":199}," content",[186,271,217],{"class":191},[186,273,274],{"class":220},"\"width=device-width, initial-scale=1\"",[186,276,203],{"class":191},[186,278,280,282,284,287,289],{"class":78,"line":279},6,[186,281,209],{"class":191},[186,283,62],{"class":195},[186,285,286],{"class":191},">Transition choreography\u003C\u002F",[186,288,62],{"class":195},[186,290,203],{"class":191},[186,292,294,296,299],{"class":78,"line":293},7,[186,295,209],{"class":191},[186,297,298],{"class":195},"style",[186,300,203],{"class":191},[186,302,304,307],{"class":78,"line":303},8,[186,305,306],{"class":199},"  :root",[186,308,309],{"class":191}," {\n",[186,311,313,317,320,323,327,330],{"class":78,"line":312},9,[186,314,316],{"class":315},"soyes","    --step",[186,318,319],{"class":191},": ",[186,321,322],{"class":199},"40",[186,324,326],{"class":325},"sHUrx","ms",[186,328,329],{"class":191},";                                   ",[186,331,333],{"class":332},"sLBg1","\u002F* one beat *\u002F\n",[186,335,337,340,342,345,348,351,354,357,359,362,364,366],{"class":78,"line":336},10,[186,338,339],{"class":315},"    --ease-out",[186,341,319],{"class":191},[186,343,344],{"class":199},"cubic-bezier",[186,346,347],{"class":191},"(",[186,349,350],{"class":199},"0.22",[186,352,353],{"class":191},", ",[186,355,356],{"class":199},"1",[186,358,353],{"class":191},[186,360,361],{"class":199},"0.36",[186,363,353],{"class":191},[186,365,356],{"class":199},[186,367,368],{"class":191},");\n",[186,370,372],{"class":78,"line":371},11,[186,373,374],{"class":191},"  }\n",[186,376,378],{"class":78,"line":377},12,[186,379,381],{"emptyLinePlaceholder":380},true,"\n",[186,383,385,388,391,394,396,399,402,405,407,410,412,415,418,421,423,426,429],{"class":78,"line":384},13,[186,386,387],{"class":195},"  body",[186,389,390],{"class":191}," { ",[186,392,393],{"class":199},"font",[186,395,319],{"class":191},[186,397,398],{"class":199},"15",[186,400,401],{"class":325},"px",[186,403,404],{"class":191},"\u002F",[186,406,84],{"class":199},[186,408,409],{"class":199}," system-ui",[186,411,353],{"class":191},[186,413,414],{"class":199},"sans-serif",[186,416,417],{"class":191},"; ",[186,419,420],{"class":199},"margin",[186,422,319],{"class":191},[186,424,425],{"class":199},"2",[186,427,428],{"class":325},"rem",[186,430,431],{"class":191},"; }\n",[186,433,435],{"class":78,"line":434},14,[186,436,381],{"emptyLinePlaceholder":380},[186,438,440,443],{"class":78,"line":439},15,[186,441,442],{"class":199},"  .story",[186,444,309],{"class":191},[186,446,448,451,453,456],{"class":78,"line":447},16,[186,449,450],{"class":199},"    display",[186,452,319],{"class":191},[186,454,455],{"class":199},"grid",[186,457,458],{"class":191},";\n",[186,460,462,465,467,470,472],{"class":78,"line":461},17,[186,463,464],{"class":199},"    max-width",[186,466,319],{"class":191},[186,468,469],{"class":199},"18",[186,471,428],{"class":325},[186,473,458],{"class":191},[186,475,477,480,482,485,487],{"class":78,"line":476},18,[186,478,479],{"class":199},"    border-radius",[186,481,319],{"class":191},[186,483,484],{"class":199},"14",[186,486,401],{"class":325},[186,488,458],{"class":191},[186,490,492,495,497,500],{"class":78,"line":491},19,[186,493,494],{"class":199},"    overflow",[186,496,319],{"class":191},[186,498,499],{"class":199},"hidden",[186,501,458],{"class":191},[186,503,505,508,510,513],{"class":78,"line":504},20,[186,506,507],{"class":199},"    background",[186,509,319],{"class":191},[186,511,512],{"class":199},"#0f172a",[186,514,458],{"class":191},[186,516,518,521,523,526],{"class":78,"line":517},21,[186,519,520],{"class":199},"    color",[186,522,319],{"class":191},[186,524,525],{"class":199},"#f8fafc",[186,527,458],{"class":191},[186,529,531,534,536,539],{"class":78,"line":530},22,[186,532,533],{"class":199},"    text-decoration",[186,535,319],{"class":191},[186,537,538],{"class":199},"none",[186,540,458],{"class":191},[186,542,544],{"class":78,"line":543},23,[186,545,546],{"class":332},"    \u002F* EXIT timing lives on the base rule: the card settles LAST, so its\n",[186,548,550],{"class":78,"line":549},24,[186,551,552],{"class":332},"       delay is the largest; the button leaves first. *\u002F\n",[186,554,556,559,562,565,567,570,572,575,578,581,583,586,588,591,593,596,599],{"class":78,"line":555},25,[186,557,558],{"class":199},"    transition",[186,560,561],{"class":191},": translate ",[186,563,564],{"class":199},"220",[186,566,326],{"class":325},[186,568,569],{"class":199}," var",[186,571,347],{"class":191},[186,573,574],{"class":315},"--ease-out",[186,576,577],{"class":191},") ",[186,579,580],{"class":199},"calc",[186,582,347],{"class":191},[186,584,585],{"class":199},"var",[186,587,347],{"class":191},[186,589,590],{"class":315},"--step",[186,592,577],{"class":191},[186,594,595],{"class":325},"*",[186,597,598],{"class":199}," 2",[186,600,368],{"class":191},[186,602,604],{"class":78,"line":603},26,[186,605,374],{"class":191},[186,607,609],{"class":78,"line":608},27,[186,610,381],{"emptyLinePlaceholder":380},[186,612,614,617],{"class":78,"line":613},28,[186,615,616],{"class":199},"  .story__img",[186,618,309],{"class":191},[186,620,622,625,627,629,632,635],{"class":78,"line":621},29,[186,623,624],{"class":199},"    aspect-ratio",[186,626,319],{"class":191},[186,628,119],{"class":199},[186,630,631],{"class":191}," \u002F ",[186,633,634],{"class":199},"3",[186,636,458],{"class":191},[186,638,640,642,644,647,649,652,655,657,660,662,665],{"class":78,"line":639},30,[186,641,507],{"class":199},[186,643,319],{"class":191},[186,645,646],{"class":199},"linear-gradient",[186,648,347],{"class":191},[186,650,651],{"class":199},"135",[186,653,654],{"class":325},"deg",[186,656,353],{"class":191},[186,658,659],{"class":199},"#38bdf8",[186,661,353],{"class":191},[186,663,664],{"class":199},"#6366f1",[186,666,368],{"class":191},[186,668,670,672,675,678,680,682,684,686,688,690,692,694],{"class":78,"line":669},31,[186,671,558],{"class":199},[186,673,674],{"class":191},": scale ",[186,676,677],{"class":199},"260",[186,679,326],{"class":325},[186,681,569],{"class":199},[186,683,347],{"class":191},[186,685,574],{"class":315},[186,687,577],{"class":191},[186,689,585],{"class":199},[186,691,347],{"class":191},[186,693,590],{"class":315},[186,695,368],{"class":191},[186,697,699],{"class":78,"line":698},32,[186,700,374],{"class":191},[186,702,704,707],{"class":78,"line":703},33,[186,705,706],{"class":199},"  .story__caption",[186,708,309],{"class":191},[186,710,712,715,717,720,722,725,727,730,732],{"class":78,"line":711},34,[186,713,714],{"class":199},"    padding",[186,716,319],{"class":191},[186,718,719],{"class":199},"0.9",[186,721,428],{"class":325},[186,723,724],{"class":199}," 1",[186,726,428],{"class":325},[186,728,729],{"class":199}," 0.2",[186,731,428],{"class":325},[186,733,458],{"class":191},[186,735,737,740,742,744,747,749],{"class":78,"line":736},35,[186,738,739],{"class":199},"    translate",[186,741,319],{"class":191},[186,743,90],{"class":199},[186,745,746],{"class":199}," 0.5",[186,748,428],{"class":325},[186,750,458],{"class":191},[186,752,754,757,759,762],{"class":78,"line":753},36,[186,755,756],{"class":199},"    opacity",[186,758,319],{"class":191},[186,760,761],{"class":199},"0.7",[186,763,458],{"class":191},[186,765,767,769,771,773,775,777,779,781,783,785,787,790,792,794,797,800,802],{"class":78,"line":766},37,[186,768,558],{"class":199},[186,770,561],{"class":191},[186,772,564],{"class":199},[186,774,326],{"class":325},[186,776,569],{"class":199},[186,778,347],{"class":191},[186,780,574],{"class":315},[186,782,577],{"class":191},[186,784,90],{"class":199},[186,786,326],{"class":325},[186,788,789],{"class":191},", opacity ",[186,791,564],{"class":199},[186,793,326],{"class":325},[186,795,796],{"class":199}," ease",[186,798,799],{"class":199}," 0",[186,801,326],{"class":325},[186,803,458],{"class":191},[186,805,807],{"class":78,"line":806},38,[186,808,374],{"class":191},[186,810,812,815],{"class":78,"line":811},39,[186,813,814],{"class":199},"  .story__cta",[186,816,309],{"class":191},[186,818,820,823,825,827,829,831,833,835],{"class":78,"line":819},40,[186,821,822],{"class":199},"    margin",[186,824,319],{"class":191},[186,826,90],{"class":199},[186,828,724],{"class":199},[186,830,428],{"class":325},[186,832,724],{"class":199},[186,834,428],{"class":325},[186,836,458],{"class":191},[186,838,840,842,844,846],{"class":78,"line":839},41,[186,841,756],{"class":199},[186,843,319],{"class":191},[186,845,90],{"class":199},[186,847,458],{"class":191},[186,849,851,853,856,859,861,863,865,867],{"class":78,"line":850},42,[186,852,558],{"class":199},[186,854,855],{"class":191},": opacity ",[186,857,858],{"class":199},"160",[186,860,326],{"class":325},[186,862,796],{"class":199},[186,864,799],{"class":199},[186,866,326],{"class":325},[186,868,458],{"class":191},[186,870,872],{"class":78,"line":871},43,[186,873,374],{"class":191},[186,875,877],{"class":78,"line":876},44,[186,878,381],{"emptyLinePlaceholder":380},[186,880,882],{"class":78,"line":881},45,[186,883,884],{"class":332},"  \u002F* ENTRY timing lives on the hovered state: cause first (the card),\n",[186,886,888],{"class":78,"line":887},46,[186,889,890],{"class":332},"     then image, caption and button, one beat apart. *\u002F\n",[186,892,894,897,899,902,904,907],{"class":78,"line":893},47,[186,895,896],{"class":199},"  .story:is",[186,898,347],{"class":191},[186,900,901],{"class":199},":hover",[186,903,353],{"class":191},[186,905,906],{"class":199},":focus-visible",[186,908,909],{"class":191},") {\n",[186,911,913,915,917,919,922,924],{"class":78,"line":912},48,[186,914,739],{"class":199},[186,916,319],{"class":191},[186,918,90],{"class":199},[186,920,921],{"class":199}," -4",[186,923,401],{"class":325},[186,925,458],{"class":191},[186,927,929,931,933,935,937,939,941,943,945,947,949],{"class":78,"line":928},49,[186,930,558],{"class":199},[186,932,561],{"class":191},[186,934,564],{"class":199},[186,936,326],{"class":325},[186,938,569],{"class":199},[186,940,347],{"class":191},[186,942,574],{"class":315},[186,944,577],{"class":191},[186,946,90],{"class":199},[186,948,326],{"class":325},[186,950,458],{"class":191},[186,952,954],{"class":78,"line":953},50,[186,955,374],{"class":191},[186,957,959,961,963,965,967,969,971,974],{"class":78,"line":958},51,[186,960,896],{"class":199},[186,962,347],{"class":191},[186,964,901],{"class":199},[186,966,353],{"class":191},[186,968,906],{"class":199},[186,970,577],{"class":191},[186,972,973],{"class":199},".story__img",[186,975,309],{"class":191},[186,977,979,982,984,987],{"class":78,"line":978},52,[186,980,981],{"class":199},"    scale",[186,983,319],{"class":191},[186,985,986],{"class":199},"1.05",[186,988,458],{"class":191},[186,990,992,994,996,998,1000,1002,1004,1006,1008,1010,1012,1014],{"class":78,"line":991},53,[186,993,558],{"class":199},[186,995,674],{"class":191},[186,997,677],{"class":199},[186,999,326],{"class":325},[186,1001,569],{"class":199},[186,1003,347],{"class":191},[186,1005,574],{"class":315},[186,1007,577],{"class":191},[186,1009,585],{"class":199},[186,1011,347],{"class":191},[186,1013,590],{"class":315},[186,1015,368],{"class":191},[186,1017,1019],{"class":78,"line":1018},54,[186,1020,374],{"class":191},[186,1022,1024,1026,1028,1030,1032,1034,1036,1039],{"class":78,"line":1023},55,[186,1025,896],{"class":199},[186,1027,347],{"class":191},[186,1029,901],{"class":199},[186,1031,353],{"class":191},[186,1033,906],{"class":199},[186,1035,577],{"class":191},[186,1037,1038],{"class":199},".story__caption",[186,1040,309],{"class":191},[186,1042,1044,1046,1048,1050,1052],{"class":78,"line":1043},56,[186,1045,739],{"class":199},[186,1047,319],{"class":191},[186,1049,90],{"class":199},[186,1051,799],{"class":199},[186,1053,458],{"class":191},[186,1055,1057,1059,1061,1063],{"class":78,"line":1056},57,[186,1058,756],{"class":199},[186,1060,319],{"class":191},[186,1062,356],{"class":199},[186,1064,458],{"class":191},[186,1066,1068,1070,1072,1074,1076,1078,1080,1082,1084,1086,1088,1090,1092,1094,1096,1098,1100],{"class":78,"line":1067},58,[186,1069,558],{"class":199},[186,1071,561],{"class":191},[186,1073,564],{"class":199},[186,1075,326],{"class":325},[186,1077,569],{"class":199},[186,1079,347],{"class":191},[186,1081,574],{"class":315},[186,1083,577],{"class":191},[186,1085,580],{"class":199},[186,1087,347],{"class":191},[186,1089,585],{"class":199},[186,1091,347],{"class":191},[186,1093,590],{"class":315},[186,1095,577],{"class":191},[186,1097,595],{"class":325},[186,1099,598],{"class":199},[186,1101,1102],{"class":191},"),\n",[186,1104,1106,1109,1111,1113,1115,1118,1120,1122,1124,1126,1128,1130,1132],{"class":78,"line":1105},59,[186,1107,1108],{"class":191},"                opacity ",[186,1110,564],{"class":199},[186,1112,326],{"class":325},[186,1114,796],{"class":199},[186,1116,1117],{"class":199}," calc",[186,1119,347],{"class":191},[186,1121,585],{"class":199},[186,1123,347],{"class":191},[186,1125,590],{"class":315},[186,1127,577],{"class":191},[186,1129,595],{"class":325},[186,1131,598],{"class":199},[186,1133,368],{"class":191},[186,1135,1137],{"class":78,"line":1136},60,[186,1138,374],{"class":191},[186,1140,1142,1144,1146,1148,1150,1152,1154,1157],{"class":78,"line":1141},61,[186,1143,896],{"class":199},[186,1145,347],{"class":191},[186,1147,901],{"class":199},[186,1149,353],{"class":191},[186,1151,906],{"class":199},[186,1153,577],{"class":191},[186,1155,1156],{"class":199},".story__cta",[186,1158,309],{"class":191},[186,1160,1162,1164,1166,1168],{"class":78,"line":1161},62,[186,1163,756],{"class":199},[186,1165,319],{"class":191},[186,1167,356],{"class":199},[186,1169,458],{"class":191},[186,1171,1173,1175,1177,1179,1181,1183,1185,1187,1189,1191,1193,1195,1197,1200],{"class":78,"line":1172},63,[186,1174,558],{"class":199},[186,1176,855],{"class":191},[186,1178,858],{"class":199},[186,1180,326],{"class":325},[186,1182,796],{"class":199},[186,1184,1117],{"class":199},[186,1186,347],{"class":191},[186,1188,585],{"class":199},[186,1190,347],{"class":191},[186,1192,590],{"class":315},[186,1194,577],{"class":191},[186,1196,595],{"class":325},[186,1198,1199],{"class":199}," 3",[186,1201,368],{"class":191},[186,1203,1205],{"class":78,"line":1204},64,[186,1206,374],{"class":191},[186,1208,1210,1213,1215,1218,1220,1222,1224,1227,1230,1232,1235,1237,1239,1241],{"class":78,"line":1209},65,[186,1211,1212],{"class":199},"  .story:focus-visible",[186,1214,390],{"class":191},[186,1216,1217],{"class":199},"outline",[186,1219,319],{"class":191},[186,1221,634],{"class":199},[186,1223,401],{"class":325},[186,1225,1226],{"class":199}," solid",[186,1228,1229],{"class":199}," #facc15",[186,1231,417],{"class":191},[186,1233,1234],{"class":199},"outline-offset",[186,1236,319],{"class":191},[186,1238,634],{"class":199},[186,1240,401],{"class":325},[186,1242,431],{"class":191},[186,1244,1246],{"class":78,"line":1245},66,[186,1247,381],{"emptyLinePlaceholder":380},[186,1249,1251],{"class":78,"line":1250},67,[186,1252,1253],{"class":332},"  \u002F* Reduced motion: no movement, no waiting. The CTA simply appears. *\u002F\n",[186,1255,1257,1260],{"class":78,"line":1256},68,[186,1258,1259],{"class":325},"  @media",[186,1261,1262],{"class":191}," (prefers-reduced-motion: reduce) {\n",[186,1264,1266,1269,1271,1274,1277,1279,1282,1284,1286,1288,1291,1293,1295,1297,1299,1301,1303],{"class":78,"line":1265},69,[186,1267,1268],{"class":199},"    .story",[186,1270,353],{"class":191},[186,1272,1273],{"class":199},".story",[186,1275,1276],{"class":195}," *",[186,1278,390],{"class":191},[186,1280,1281],{"class":199},"transition-duration",[186,1283,319],{"class":191},[186,1285,356],{"class":199},[186,1287,326],{"class":325},[186,1289,1290],{"class":325}," !important",[186,1292,417],{"class":191},[186,1294,17],{"class":199},[186,1296,319],{"class":191},[186,1298,90],{"class":199},[186,1300,326],{"class":325},[186,1302,1290],{"class":325},[186,1304,431],{"class":191},[186,1306,1308,1311,1313,1315,1317,1319,1322,1325,1327,1329],{"class":78,"line":1307},70,[186,1309,1310],{"class":199},"    .story:is",[186,1312,347],{"class":191},[186,1314,901],{"class":199},[186,1316,353],{"class":191},[186,1318,906],{"class":199},[186,1320,1321],{"class":191},") { ",[186,1323,1324],{"class":199},"translate",[186,1326,319],{"class":191},[186,1328,538],{"class":199},[186,1330,431],{"class":191},[186,1332,1334,1336,1338,1340,1342,1344,1346,1348,1350,1353,1355,1357],{"class":78,"line":1333},71,[186,1335,1310],{"class":199},[186,1337,347],{"class":191},[186,1339,901],{"class":199},[186,1341,353],{"class":191},[186,1343,906],{"class":199},[186,1345,577],{"class":191},[186,1347,973],{"class":199},[186,1349,390],{"class":191},[186,1351,1352],{"class":199},"scale",[186,1354,319],{"class":191},[186,1356,538],{"class":199},[186,1358,431],{"class":191},[186,1360,1362],{"class":78,"line":1361},72,[186,1363,374],{"class":191},[186,1365,1367,1370,1372],{"class":78,"line":1366},73,[186,1368,1369],{"class":191},"\u003C\u002F",[186,1371,298],{"class":195},[186,1373,203],{"class":191},[186,1375,1377,1379,1381],{"class":78,"line":1376},74,[186,1378,1369],{"class":191},[186,1380,231],{"class":195},[186,1382,203],{"class":191},[186,1384,1386,1388,1391],{"class":78,"line":1385},75,[186,1387,209],{"class":191},[186,1389,1390],{"class":195},"body",[186,1392,203],{"class":191},[186,1394,1396,1399,1401,1404,1406,1409,1412,1414,1417],{"class":78,"line":1395},76,[186,1397,1398],{"class":191},"  \u003C",[186,1400,31],{"class":195},[186,1402,1403],{"class":199}," class",[186,1405,217],{"class":191},[186,1407,1408],{"class":220},"\"story\"",[186,1410,1411],{"class":199}," href",[186,1413,217],{"class":191},[186,1415,1416],{"class":220},"\"\u002Fstories\u002Fcoast\u002F\"",[186,1418,203],{"class":191},[186,1420,1422,1425,1428,1430,1432,1435,1438,1440,1443,1446,1448,1451,1454,1456],{"class":78,"line":1421},77,[186,1423,1424],{"class":191},"    \u003C",[186,1426,1427],{"class":195},"div",[186,1429,1403],{"class":199},[186,1431,217],{"class":191},[186,1433,1434],{"class":220},"\"story__img\"",[186,1436,1437],{"class":199}," role",[186,1439,217],{"class":191},[186,1441,1442],{"class":220},"\"img\"",[186,1444,1445],{"class":199}," aria-label",[186,1447,217],{"class":191},[186,1449,1450],{"class":220},"\"Coastline\"",[186,1452,1453],{"class":191},">\u003C\u002F",[186,1455,1427],{"class":195},[186,1457,203],{"class":191},[186,1459,1461,1463,1465,1467,1469,1472,1475,1478,1481,1483,1485,1487],{"class":78,"line":1460},78,[186,1462,1424],{"class":191},[186,1464,1427],{"class":195},[186,1466,1403],{"class":199},[186,1468,217],{"class":191},[186,1470,1471],{"class":220},"\"story__caption\"",[186,1473,1474],{"class":191},">\u003C",[186,1476,1477],{"class":195},"h3",[186,1479,1480],{"class":191},">Along the coast\u003C\u002F",[186,1482,1477],{"class":195},[186,1484,1453],{"class":191},[186,1486,1427],{"class":195},[186,1488,203],{"class":191},[186,1490,1492,1494,1496,1498,1500,1503,1506,1508],{"class":78,"line":1491},79,[186,1493,1424],{"class":191},[186,1495,186],{"class":195},[186,1497,1403],{"class":199},[186,1499,217],{"class":191},[186,1501,1502],{"class":220},"\"story__cta\"",[186,1504,1505],{"class":191},">Read the story →\u003C\u002F",[186,1507,186],{"class":195},[186,1509,203],{"class":191},[186,1511,1513,1516,1518],{"class":78,"line":1512},80,[186,1514,1515],{"class":191},"  \u003C\u002F",[186,1517,31],{"class":195},[186,1519,203],{"class":191},[186,1521,1523,1525,1527],{"class":78,"line":1522},81,[186,1524,1369],{"class":191},[186,1526,1390],{"class":195},[186,1528,203],{"class":191},[186,1530,1532,1534,1536],{"class":78,"line":1531},82,[186,1533,1369],{"class":191},[186,1535,181],{"class":195},[186,1537,203],{"class":191},[19,1539,1540,1541,1544,1545,1547],{},"The reduced-motion rule uses ",[15,1542,1543],{},"!important"," deliberately: it must beat every per-state transition declaration, including the hover ones with higher specificity, and a motion-preference override is one of the few places where a blanket ",[15,1546,1543],{}," is the right tool. The button is still revealed — its opacity changes — so the information is not lost, only the sequencing.",[42,1549,1551],{"id":1550},"the-key-technique-entry-and-exit-are-separate-sequences","The key technique: entry and exit are separate sequences",[19,1553,1554,1555,1558],{},"Because the state being entered supplies the transition values, the entry sequence is written on the hover state and the exit sequence on the base state. That lets the two sequences run in ",[23,1556,1557],{},"opposite orders",", which is what makes choreography feel natural: things leave in the reverse of how they arrived.",[53,1560,60,1563,60,1566,60,1569,60,1572,60,1577,60,1582,60,1588,60,1591,60,1595,60,1599,60,1602,60,1606,60,1609,60,1612,60,1614,60,1617],{"viewBox":1561,"role":56,"ariaLabel":1562,"xmlns":58,"style":59},"0 0 720 280","Entry sequence card, image, caption, button with increasing delays; exit sequence button, caption, image, card with the order reversed",[62,1564,1565],{},"Arrive in one order, leave in the reverse",[66,1567,1568],{},"Entry, declared on the hover state: card 0, image 40, caption 80, button 120 milliseconds. Exit, declared on the base state: button 0, caption 0, image 40, card 80 milliseconds.",[70,1570,1571],{"textAnchor":72,"x":73,"y":74,"style":75},"Delays per direction",[114,1573],{"x":322,"y":152,"width":102,"height":1574,"rx":1575,"fill":120,"opacity":1576},"190","12","0.18",[70,1578,1581],{"textAnchor":72,"x":1574,"y":1579,"style":1580},"78","text-anchor:middle;fill:currentColor;font:700 13px sans-serif","entry (on :hover)",[70,1583,1587],{"textAnchor":1584,"x":1585,"y":124,"style":1586},"start","70","text-anchor:start;fill:currentColor;font:12px ui-monospace,monospace","card     0ms",[70,1589,1590],{"textAnchor":1584,"x":1585,"y":80,"style":1586},"image   40ms",[70,1592,1594],{"textAnchor":1584,"x":1585,"y":1593,"style":1586},"168","caption 80ms",[70,1596,1598],{"textAnchor":1584,"x":1585,"y":1597,"style":1586},"196","button 120ms",[114,1600],{"x":1601,"y":152,"width":102,"height":1574,"rx":1575,"fill":538,"stroke":83,"strokeWidth":84,"opacity":85},"380",[70,1603,1605],{"textAnchor":72,"x":1604,"y":1579,"style":1580},"530","exit (on base rule)",[70,1607,1608],{"textAnchor":1584,"x":97,"y":124,"style":1586},"button   0ms",[70,1610,1611],{"textAnchor":1584,"x":97,"y":80,"style":1586},"caption  0ms",[70,1613,1590],{"textAnchor":1584,"x":97,"y":1593,"style":1586},[70,1615,1616],{"textAnchor":1584,"x":97,"y":1597,"style":1586},"card    80ms",[70,1618,1620],{"textAnchor":72,"x":73,"y":1619,"style":163},"266","The exit is shorter overall: the details leave together, the card settles last.",[19,1622,1623,1624,1628],{},"Exits are usually faster and less staged than entries. The user has moved on, and a long exit sequence keeps stale content on screen. Collapsing the details' exit delays to zero, as the example does, and letting only the card settle last gives a quick, tidy departure. The reasoning behind asymmetric timing is developed in ",[31,1625,1627],{"href":1626},"\u002Fcss-only-micro-interactions-animations\u002Feasing-and-motion-design\u002Fentry-vs-exit-easing\u002F","Entry vs Exit Easing",".",[42,1630,1632],{"id":1631},"negative-delays-and-delays-inside-one-element","Negative delays and delays inside one element",[19,1634,1635],{},"Delays apply per property, so a single element can sequence its own changes: a button's background can change immediately while its icon slides 60 milliseconds later, both declared in one transition list. That is often enough choreography for small components, with no need to coordinate several elements.",[19,1637,1638,1639,1642],{},"Negative delays are the less familiar tool. ",[15,1640,1641],{},"transition-delay: -100ms"," starts a transition as if it had begun 100 milliseconds ago — it jumps to the point it would have reached and continues from there. That sounds odd for interactive states, but it is useful in two situations.",[19,1644,1645,1649],{},[1646,1647,1648],"strong",{},"Syncing late joiners."," If several elements should move together but one of them only begins transitioning after a layout change, a negative delay equal to the lag lets it catch up to the others' phase rather than trailing them.",[19,1651,1652,1655],{},[1646,1653,1654],{},"Trimming slow starts."," A long ease-in curve spends its first stretch barely moving. A small negative delay skips the imperceptible beginning, making the motion start visibly sooner without changing the curve's overall shape.",[19,1657,1658],{},"Both are refinements; most choreography needs only small positive delays. But knowing that delays can be negative helps when a sequence looks subtly out of step and positive adjustments only make the whole thing slower.",[42,1660,1662],{"id":1661},"staggering-many-items","Staggering many items",[19,1664,1665],{},"Delays also stagger lists: each item waits a little longer than the previous. Custom properties make that systematic without writing a rule per item.",[177,1667,1671],{"className":1668,"code":1669,"language":1670,"meta":182,"style":182},"language-css shiki shiki-themes github-light-high-contrast github-dark-high-contrast",".results > li {\n  transition: opacity 200ms ease, translate 200ms cubic-bezier(0.22, 1, 0.36, 1);\n  \u002F* --i is set per item: style=\"--i: 0\", \"--i: 1\" … or via :nth-child. *\u002F\n  transition-delay: calc(min(var(--i, 0), 6) * 30ms);\n}\n\n.results.is-loading > li {\n  opacity: 0;\n  translate: 0 0.5rem;\n}\n","css",[15,1672,1673,1686,1727,1732,1776,1781,1785,1796,1807,1822],{"__ignoreMap":182},[186,1674,1675,1678,1681,1684],{"class":78,"line":188},[186,1676,1677],{"class":199},".results",[186,1679,1680],{"class":325}," >",[186,1682,1683],{"class":195}," li",[186,1685,309],{"class":191},[186,1687,1688,1691,1693,1695,1697,1699,1702,1704,1706,1709,1711,1713,1715,1717,1719,1721,1723,1725],{"class":78,"line":206},[186,1689,1690],{"class":199},"  transition",[186,1692,855],{"class":191},[186,1694,98],{"class":199},[186,1696,326],{"class":325},[186,1698,796],{"class":199},[186,1700,1701],{"class":191},", translate ",[186,1703,98],{"class":199},[186,1705,326],{"class":325},[186,1707,1708],{"class":199}," cubic-bezier",[186,1710,347],{"class":191},[186,1712,350],{"class":199},[186,1714,353],{"class":191},[186,1716,356],{"class":199},[186,1718,353],{"class":191},[186,1720,361],{"class":199},[186,1722,353],{"class":191},[186,1724,356],{"class":199},[186,1726,368],{"class":191},[186,1728,1729],{"class":78,"line":226},[186,1730,1731],{"class":332},"  \u002F* --i is set per item: style=\"--i: 0\", \"--i: 1\" … or via :nth-child. *\u002F\n",[186,1733,1734,1737,1739,1741,1743,1746,1748,1750,1752,1755,1757,1759,1762,1765,1767,1769,1772,1774],{"class":78,"line":236},[186,1735,1736],{"class":199},"  transition-delay",[186,1738,319],{"class":191},[186,1740,580],{"class":199},[186,1742,347],{"class":191},[186,1744,1745],{"class":199},"min",[186,1747,347],{"class":191},[186,1749,585],{"class":199},[186,1751,347],{"class":191},[186,1753,1754],{"class":315},"--i",[186,1756,353],{"class":191},[186,1758,90],{"class":199},[186,1760,1761],{"class":191},"), ",[186,1763,1764],{"class":199},"6",[186,1766,577],{"class":191},[186,1768,595],{"class":325},[186,1770,1771],{"class":199}," 30",[186,1773,326],{"class":325},[186,1775,368],{"class":191},[186,1777,1778],{"class":78,"line":254},[186,1779,1780],{"class":191},"}\n",[186,1782,1783],{"class":78,"line":279},[186,1784,381],{"emptyLinePlaceholder":380},[186,1786,1787,1790,1792,1794],{"class":78,"line":293},[186,1788,1789],{"class":199},".results.is-loading",[186,1791,1680],{"class":325},[186,1793,1683],{"class":195},[186,1795,309],{"class":191},[186,1797,1798,1801,1803,1805],{"class":78,"line":303},[186,1799,1800],{"class":199},"  opacity",[186,1802,319],{"class":191},[186,1804,90],{"class":199},[186,1806,458],{"class":191},[186,1808,1809,1812,1814,1816,1818,1820],{"class":78,"line":312},[186,1810,1811],{"class":199},"  translate",[186,1813,319],{"class":191},[186,1815,90],{"class":199},[186,1817,746],{"class":199},[186,1819,428],{"class":325},[186,1821,458],{"class":191},[186,1823,1824],{"class":78,"line":336},[186,1825,1780],{"class":191},[19,1827,1828,1829,1832,1833,1837],{},"The ",[15,1830,1831],{},"min(var(--i), 6)"," cap is the budget in code: the first seven items stagger, and everything after arrives together with the seventh, so a list of fifty results is fully visible within about 400 milliseconds rather than two seconds. ",[31,1834,1836],{"href":1835},"\u002Fcss-only-micro-interactions-animations\u002Fkeyframe-animation-patterns\u002Fstaggered-list-animations-with-custom-properties\u002F","Staggered List Animations With Custom Properties"," covers the keyframe version and the indexing techniques in more detail.",[42,1839,1841],{"id":1840},"the-budget","The budget",[19,1843,1844],{},"A few rules keep choreography helpful:",[1846,1847,1848,1855,1861,1867,1873,1879],"ul",{},[1849,1850,1851,1854],"li",{},[1646,1852,1853],{},"Keep steps small."," 30 to 60 milliseconds per step is enough for the eye to perceive a deliberate order; larger steps start to feel like separate events.",[1849,1856,1857,1860],{},[1646,1858,1859],{},"Keep the total short."," The last element should settle within about 400 milliseconds of the trigger for routine interactions.",[1849,1862,1863,1866],{},[1646,1864,1865],{},"Stagger the minimum."," Three or four staged elements carry the effect; staging ten adds time without adding meaning.",[1849,1868,1869,1872],{},[1646,1870,1871],{},"Never delay essential feedback."," A button's pressed state, a focus ring and a validation message should appear immediately; sequence only decorative or secondary changes.",[1849,1874,1875,1878],{},[1646,1876,1877],{},"Remove delays with motion."," For reduced-motion users, a delay without motion is just a wait.",[1849,1880,1881,1884],{},[1646,1882,1883],{},"Test with fast input."," Sweep the pointer across a grid of choreographed cards. If the sequences pile up into visual noise, shorten the steps or stage fewer elements; interrupted sequences should read as calm, not frantic.",[42,1886,1888],{"id":1887},"browser-support","Browser support",[19,1890,1891,1893,1894,1897,1898,1900,1901,1903],{},[15,1892,17],{},", including per-item delays in comma-separated lists and negative delays, is supported in every browser with CSS transitions, which dates from Chrome 26, Edge 12, Firefox 16 and Safari 9. Custom properties and ",[15,1895,1896],{},"calc()"," in time values are supported in all current engines, as are the standalone ",[15,1899,1324],{}," and ",[15,1902,1352],{}," properties (Chrome and Edge 104+, Firefox 72+, Safari 14.1+).",[42,1905,1907],{"id":1906},"faq","FAQ",[19,1909,1910,1916],{},[1646,1911,1912,1913,1915],{},"What does ",[15,1914,17],{}," do?","\nIt postpones the start of a transition after the state change that triggers it. During the delay the property keeps its old value, then transitions over its duration. A negative delay starts the transition partway through, as if it had begun earlier.",[19,1918,1919,1922],{},[1646,1920,1921],{},"How do I delay only the reverse of a transition?","\nDeclare different transition values on each state. The state being entered supplies the timing, so a delay on the base rule applies only when leaving the hovered or open state, and a delay on the hover rule applies only when entering it.",[19,1924,1925,1931,1932,1934,1935,1938],{},[1646,1926,1927,1928,1930],{},"Can ",[15,1929,17],{}," stagger a list of items?","\nYes. Give each item a delay based on its index, usually through a custom property such as ",[15,1933,1754],{}," set per item, and write ",[15,1936,1937],{},"transition-delay: calc(var(--i) * 40ms)",". Cap the stagger so long lists do not take seconds to finish.",[19,1940,1941,1944],{},[1646,1942,1943],{},"Should delays be removed for reduced motion?","\nUsually yes. When movement is removed for reduced-motion users, a delay becomes pure waiting. Set delays to zero along with movement durations in the reduced-motion media query.",[42,1946,1948],{"id":1947},"related","Related",[1846,1950,1951,1956,1963,1970],{},[1849,1952,1953,1955],{},[31,1954,34],{"href":33}," — the parent guide.",[1849,1957,1958,1962],{},[31,1959,1961],{"href":1960},"\u002Fcss-only-micro-interactions-animations\u002Fcss-transition-fundamentals\u002Ftransition-shorthand-and-multiple-properties\u002F","Transition Shorthand and Multiple Properties"," — the lists these delays sit in.",[1849,1964,1965,1969],{},[31,1966,1968],{"href":1967},"\u002Fcss-only-micro-interactions-animations\u002Fhover-focus-state-design\u002Fhover-intent-delays-with-transition-delay\u002F","Hover Intent Delays With transition-delay"," — delays used to filter passing pointers.",[1849,1971,1972,1980],{},[31,1973,1975,1976,1979],{"href":1974},"\u002Fmastering-container-queries-responsive-layouts\u002Fparent-aware-layouts-with-has\u002Fcontent-aware-card-layouts-with-has\u002F","Content-Aware Card Layouts With ",[1977,1978],"has",{},"()"," — cards whose parts can be choreographed.",[298,1982,1983],{},"html pre.shiki code .suds8, html code.shiki .suds8{--shiki-default:#0E1116;--shiki-dark:#F0F3F6}html pre.shiki code .sne4z, html code.shiki .sne4z{--shiki-default:#024C1A;--shiki-dark:#72F088}html pre.shiki code .s-5SL, html code.shiki .s-5SL{--shiki-default:#023B95;--shiki-dark:#91CBFF}html pre.shiki code .sT6z2, html code.shiki .sT6z2{--shiki-default:#032563;--shiki-dark:#ADDCFF}html pre.shiki code .soyes, html code.shiki .soyes{--shiki-default:#702C00;--shiki-dark:#FFB757}html pre.shiki code .sHUrx, html code.shiki .sHUrx{--shiki-default:#A0111F;--shiki-dark:#FF9492}html pre.shiki code .sLBg1, html code.shiki .sLBg1{--shiki-default:#66707B;--shiki-dark:#BDC4CC}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":182,"searchDepth":206,"depth":206,"links":1985},[1986,1987,1988,1989,1990,1991,1992,1993,1994],{"id":44,"depth":206,"text":45},{"id":167,"depth":206,"text":168},{"id":1550,"depth":206,"text":1551},{"id":1631,"depth":206,"text":1632},{"id":1661,"depth":206,"text":1662},{"id":1840,"depth":206,"text":1841},{"id":1887,"depth":206,"text":1888},{"id":1906,"depth":206,"text":1907},{"id":1947,"depth":206,"text":1948},"Sequence properties and elements with transition-delay: staged reveals, cause-then-effect ordering, delays that differ by direction, and a short total.","md",{"pageTitle":5,"datePublished":1998,"dateModified":1998,"faq":1999},"2026-09-18",[2000,2003,2005,2008],{"q":2001,"a":2002},"What does transition-delay do?","It postpones the start of a transition after the state change that triggers it. During the delay the property keeps its old value, then transitions over its duration. A negative delay starts the transition partway through, as if it had begun earlier.",{"q":1921,"a":2004},"Declare different transition values on each state. The state being entered supplies the timing, so a delay on the base rule applies only when leaving the hovered or open state, and a delay on the hover rule applies only when entering it.",{"q":2006,"a":2007},"Can transition-delay stagger a list of items?","Yes. Give each item a delay based on its index, usually through a custom property such as --i set per item, and write transition-delay: calc(var(--i) * 40ms). Cap the stagger so long lists do not take seconds to finish.",{"q":1943,"a":2009},"Usually yes. When movement is removed for reduced-motion users, a delay becomes pure waiting. Set delays to zero along with movement durations in the reduced-motion media query.","\u002Fcss-only-micro-interactions-animations\u002Fcss-transition-fundamentals\u002Ftransition-delay-choreography",{"title":5,"description":1995},"css-only-micro-interactions-animations\u002Fcss-transition-fundamentals\u002Ftransition-delay-choreography\u002Findex","hCTTKyBElSeqlZzP7220C2ObJp5KfionqWFc4jOblSU",[2015,2018,2021,2024,2027,2030,2033,2036,2039,2042,2045,2048,2051,2054,2057,2060,2063,2066,2069,2072,2075,2078,2081,2084,2087,2090,2093,2096,2099,2102,2105,2108,2111,2114,2117,2120,2123,2126,2129,2132,2135,2136,2139,2142,2145,2148,2151,2154,2157,2160,2163,2166,2169,2172,2175,2178,2181,2184,2187,2190,2193,2196,2199,2202,2205,2208,2211,2214,2217,2220,2223,2226,2229,2232,2235,2238,2241,2244,2247,2250,2253,2256,2259,2262,2265,2268,2271,2274,2277,2280,2283,2286,2289,2292,2294,2297,2300,2303,2306,2309,2312,2315,2318,2321,2324,2327,2330,2333,2336,2339,2342,2345,2348,2351,2354,2357,2360,2363,2366,2369,2372,2375,2378,2381,2384,2387,2390,2393,2396,2399,2402,2405,2408,2411,2414,2417,2420,2423,2426,2429,2432,2435,2438,2441,2444,2447,2450,2453,2456,2459,2462,2465,2468,2471,2474,2477,2480,2483,2486,2489,2492,2495,2498,2501,2504,2507,2510,2513,2516,2519,2522,2525,2528,2531,2534,2537,2540,2543,2546,2549,2552,2555,2558,2561,2564,2567,2570],{"path":2016,"title":2017},"\u002Fcss-only-micro-interactions-animations\u002Faccessibility-in-css-animations\u002Fcreating-accessible-focus-indicators","Creating Accessible Focus Indicators: Building a Ring That Survives Any Background",{"path":2019,"title":2020},"\u002Fcss-only-micro-interactions-animations\u002Faccessibility-in-css-animations\u002Fflashing-content-and-seizure-thresholds","Flashing Content and Seizure Thresholds",{"path":2022,"title":2023},"\u002Fcss-only-micro-interactions-animations\u002Faccessibility-in-css-animations\u002Fforced-colors-mode-and-animations","Forced Colors Mode and Animations",{"path":2025,"title":2026},"\u002Fcss-only-micro-interactions-animations\u002Faccessibility-in-css-animations","Accessibility in CSS Animations: Patterns, Specs & Best Practices",{"path":2028,"title":2029},"\u002Fcss-only-micro-interactions-animations\u002Faccessibility-in-css-animations\u002Fpause-controls-for-looping-animations","Pause Controls for Looping CSS Animations: Meeting WCAG 2.2.2",{"path":2031,"title":2032},"\u002Fcss-only-micro-interactions-animations\u002Faccessibility-in-css-animations\u002Fprefers-reduced-motion-recipes","prefers-reduced-motion Recipes: A Reduction for Every Common Effect",{"path":2034,"title":2035},"\u002Fcss-only-micro-interactions-animations\u002Faccessibility-in-css-animations\u002Freducing-motion-preferences-in-css","Reducing Motion Preferences in CSS: How the Setting Becomes a Media Feature",{"path":2037,"title":2038},"\u002Fcss-only-micro-interactions-animations\u002Faccessibility-in-css-animations\u002Ftarget-size-and-pointer-accessibility","Target Size and Pointer Accessibility: Meeting 2.5.8 Without Redesigning",{"path":2040,"title":2041},"\u002Fcss-only-micro-interactions-animations\u002Faccessibility-in-css-animations\u002Fvestibular-safe-animation-patterns","Vestibular-Safe Animation Patterns: Why Some Motion Makes People Sick",{"path":2043,"title":2044},"\u002Fcss-only-micro-interactions-animations\u002Faccessibility-in-css-animations\u002Fwcag-motion-success-criteria","WCAG Motion Success Criteria: What Each One Actually Requires",{"path":2046,"title":2047},"\u002Fcss-only-micro-interactions-animations\u002Fclip-path-and-mask-animations\u002Fanimated-gradient-borders-with-property","Animated Gradient Borders With @property: A Spinning Highlight Without Extra Elements",{"path":2049,"title":2050},"\u002Fcss-only-micro-interactions-animations\u002Fclip-path-and-mask-animations\u002Fclip-path-reveal-animations","Clip-Path Reveal Animations: Wipes, Irises and Corners Without Extra Markup",{"path":2052,"title":2053},"\u002Fcss-only-micro-interactions-animations\u002Fclip-path-and-mask-animations","Clip-Path & Mask Animations: Animating Visibility Instead of Position",{"path":2055,"title":2056},"\u002Fcss-only-micro-interactions-animations\u002Fclip-path-and-mask-animations\u002Fmask-image-fade-edges","Fading Edges With mask-image: Soft Boundaries That Work on Any Background",{"path":2058,"title":2059},"\u002Fcss-only-micro-interactions-animations\u002Fclip-path-and-mask-animations\u002Fmorphing-shapes-with-clip-path-polygon","Morphing Shapes With clip-path: polygon(): Point-Matched Transitions",{"path":2061,"title":2062},"\u002Fcss-only-micro-interactions-animations\u002Fcolor-and-theme-transitions\u002Fanimating-gradients","Animating CSS Gradients: Smooth Colour Motion Without Jumps",{"path":2064,"title":2065},"\u002Fcss-only-micro-interactions-animations\u002Fcolor-and-theme-transitions\u002Fcolor-mix-hover-states","Hover and Active States With color-mix(): One Token, Every Shade",{"path":2067,"title":2068},"\u002Fcss-only-micro-interactions-animations\u002Fcolor-and-theme-transitions","Color & Theme Transitions: Colour as Part of the Motion System",{"path":2070,"title":2071},"\u002Fcss-only-micro-interactions-animations\u002Fcolor-and-theme-transitions\u002Flight-dark-function-for-themes","Light and Dark Themes With light-dark(): One Declaration per Colour",{"path":2073,"title":2074},"\u002Fcss-only-micro-interactions-animations\u002Fcolor-and-theme-transitions\u002Fsmooth-theme-switching-transitions","Smooth Theme Switching: Crossfades, Circular Reveals and No Flash",{"path":2076,"title":2077},"\u002Fcss-only-micro-interactions-animations\u002Fcontainer-aware-motion\u002Fcontainer-query-hover-affordances","Container Query Hover Affordances: When Narrow Means Persistent, Not Hidden",{"path":2079,"title":2080},"\u002Fcss-only-micro-interactions-animations\u002Fcontainer-aware-motion","Container-Aware Motion: Animation Sized by the Space a Component Actually Has",{"path":2082,"title":2083},"\u002Fcss-only-micro-interactions-animations\u002Fcontainer-aware-motion\u002Flayout-change-animations-at-container-breakpoints","Animating Changes at Container Breakpoints",{"path":2085,"title":2086},"\u002Fcss-only-micro-interactions-animations\u002Fcontainer-aware-motion\u002Fmotion-driven-by-container-style-queries","Motion Driven by Container Style Queries",{"path":2088,"title":2089},"\u002Fcss-only-micro-interactions-animations\u002Fcontainer-aware-motion\u002Fmotion-that-scales-with-container-size","Motion That Scales with Container Size: cqi, cqb, and Derived Durations",{"path":2091,"title":2092},"\u002Fcss-only-micro-interactions-animations\u002Fcontainer-aware-motion\u002Fsuppressing-motion-in-small-containers","Suppressing Motion in Small Containers: Deliberately Animating Nothing",{"path":2094,"title":2095},"\u002Fcss-only-micro-interactions-animations\u002Fcss-animation-vs-web-animations-api\u002Fcontrolling-css-animations-from-javascript","Controlling CSS Animations From JavaScript",{"path":2097,"title":2098},"\u002Fcss-only-micro-interactions-animations\u002Fcss-animation-vs-web-animations-api","CSS Animation vs the Web Animations API: A Decision Guide",{"path":2100,"title":2101},"\u002Fcss-only-micro-interactions-animations\u002Fcss-animation-vs-web-animations-api\u002Fwaapi-vs-css-for-interruptible-ui","Interruptible UI: CSS Transitions vs WAAPI",{"path":2103,"title":2104},"\u002Fcss-only-micro-interactions-animations\u002Fcss-animation-vs-web-animations-api\u002Fwhen-to-use-javascript-animation","When to Use JavaScript Instead of CSS for Animation",{"path":2106,"title":2107},"\u002Fcss-only-micro-interactions-animations\u002Fcss-custom-properties-architecture\u002Fanimating-custom-properties-with-at-property","Animating Custom Properties with @property: Typed Variables That Interpolate",{"path":2109,"title":2110},"\u002Fcss-only-micro-interactions-animations\u002Fcss-custom-properties-architecture\u002Fcustom-property-fallbacks-and-invalid-values","Custom Property Fallbacks and Invalid Values",{"path":2112,"title":2113},"\u002Fcss-only-micro-interactions-animations\u002Fcss-custom-properties-architecture\u002Ffluid-spacing-tokens-driving-transition-durations","Fluid Spacing Tokens That Drive Transition Durations",{"path":2115,"title":2116},"\u002Fcss-only-micro-interactions-animations\u002Fcss-custom-properties-architecture","CSS Custom Properties Architecture: Scalable Design Systems & Dynamic UI",{"path":2118,"title":2119},"\u002Fcss-only-micro-interactions-animations\u002Fcss-custom-properties-architecture\u002Fregistered-properties-and-type-safety","Registered Properties and Type Safety: @property as a Contract for Design Tokens",{"path":2121,"title":2122},"\u002Fcss-only-micro-interactions-animations\u002Fcss-custom-properties-architecture\u002Fscoping-custom-properties-to-components","Scoping Custom Properties to Components",{"path":2124,"title":2125},"\u002Fcss-only-micro-interactions-animations\u002Fcss-transition-fundamentals\u002Fcss-transition-timing-functions","CSS Transition Timing Functions: ease, cubic-bezier(), steps() and linear()",{"path":2127,"title":2128},"\u002Fcss-only-micro-interactions-animations\u002Fcss-transition-fundamentals","CSS Transition Fundamentals: Architecture, Performance & Patterns",{"path":2130,"title":2131},"\u002Fcss-only-micro-interactions-animations\u002Fcss-transition-fundamentals\u002Finterrupted-and-reversing-transitions","Interrupted and Reversing Transitions: What Happens Mid-Flight",{"path":2133,"title":2134},"\u002Fcss-only-micro-interactions-animations\u002Fcss-transition-fundamentals\u002Fstarting-style-entry-animations","@starting-style: Animating an Element's Very First Style Change",{"path":2010,"title":5},{"path":2137,"title":2138},"\u002Fcss-only-micro-interactions-animations\u002Fcss-transition-fundamentals\u002Ftransition-shorthand-and-multiple-properties","The transition Shorthand and Multiple Properties",{"path":2140,"title":2141},"\u002Fcss-only-micro-interactions-animations\u002Fcss-transition-fundamentals\u002Ftransitioning-display-with-allow-discrete","Transitioning display with transition-behavior: allow-discrete and @starting-style",{"path":2143,"title":2144},"\u002Fcss-only-micro-interactions-animations\u002Fdialog-and-popover-animations\u002Fanimating-dialog-open-and-close","Animating \u003Cdialog> Open and Close: Both Directions, No Library",{"path":2146,"title":2147},"\u002Fcss-only-micro-interactions-animations\u002Fdialog-and-popover-animations\u002Fbackdrop-animations","Animating ::backdrop: Fades and Blurs Behind Dialogs and Popovers",{"path":2149,"title":2150},"\u002Fcss-only-micro-interactions-animations\u002Fdialog-and-popover-animations","Dialog & Popover Animations: Motion for the Top Layer",{"path":2152,"title":2153},"\u002Fcss-only-micro-interactions-animations\u002Fdialog-and-popover-animations\u002Finterpolate-size-for-height-auto-animation","Animating to height: auto With interpolate-size and calc-size()",{"path":2155,"title":2156},"\u002Fcss-only-micro-interactions-animations\u002Fdialog-and-popover-animations\u002Fpopover-entry-and-exit-transitions","Popover Menus That Animate From Their Anchor",{"path":2158,"title":2159},"\u002Fcss-only-micro-interactions-animations\u002Feasing-and-motion-design\u002Fchoosing-animation-durations","Choosing Animation Durations: How Long Motion Should Last",{"path":2161,"title":2162},"\u002Fcss-only-micro-interactions-animations\u002Feasing-and-motion-design\u002Fcubic-bezier-overshoot-and-anticipation","Overshoot and Anticipation With cubic-bezier(): Motion With Character",{"path":2164,"title":2165},"\u002Fcss-only-micro-interactions-animations\u002Feasing-and-motion-design\u002Fentry-vs-exit-easing","Entry vs Exit Easing: Different Curves for Arriving and Leaving",{"path":2167,"title":2168},"\u002Fcss-only-micro-interactions-animations\u002Feasing-and-motion-design","Easing & Motion Design: Making CSS Motion Feel Intentional",{"path":2170,"title":2171},"\u002Fcss-only-micro-interactions-animations\u002Feasing-and-motion-design\u002Flinear-easing-function-for-springs","Spring and Bounce Easing With linear(): Physical Motion Without JavaScript",{"path":2173,"title":2174},"\u002Fcss-only-micro-interactions-animations\u002Feasing-and-motion-design\u002Fsteps-easing-for-sprite-animations","steps() Easing: Sprite Sheets, Typewriters and Other Frame-by-Frame Effects",{"path":2176,"title":2177},"\u002Fcss-only-micro-interactions-animations\u002Fhover-focus-state-design\u002Faccessible-css-only-tooltips","Accessible CSS-Only Tooltips and Hover Cards With  and ",{"path":2179,"title":2180},"\u002Fcss-only-micro-interactions-animations\u002Fhover-focus-state-design\u002Fbutton-press-and-active-states","Button Press and  States",{"path":2182,"title":2183},"\u002Fcss-only-micro-interactions-animations\u002Fhover-focus-state-design\u002Ffocus-visible-vs-focus-polyfill-alternatives"," vs :focus: Why It Replaced the Focus-Ring Polyfill",{"path":2185,"title":2186},"\u002Fcss-only-micro-interactions-animations\u002Fhover-focus-state-design\u002Ffocus-within-form-patterns"," Form Patterns: Styling a Group From the Field Inside It",{"path":2188,"title":2189},"\u002Fcss-only-micro-interactions-animations\u002Fhover-focus-state-design\u002Fhover-intent-delays-with-transition-delay","Hover Intent Delays With transition-delay: Menus That Don't Flicker",{"path":2191,"title":2192},"\u002Fcss-only-micro-interactions-animations\u002Fhover-focus-state-design","Hover & Focus State Design: Spec-Compliant Patterns for Modern UIs",{"path":2194,"title":2195},"\u002Fcss-only-micro-interactions-animations\u002Fhover-focus-state-design\u002Fpointer-and-hover-media-queries","Pointer and Hover Media Queries: Gating Affordances by Input Capability",{"path":2197,"title":2198},"\u002Fcss-only-micro-interactions-animations\u002Fhover-focus-state-design\u002Fsmooth-hover-effects-without-javascript","Smooth Hover Effects Without JavaScript: CSS-Only Patterns for Modern UI",{"path":2200,"title":2201},"\u002Fcss-only-micro-interactions-animations","CSS-Only Micro-Interactions & Animations: Architecture, Performance & Implementation",{"path":2203,"title":2204},"\u002Fcss-only-micro-interactions-animations\u002Fkeyframe-animation-patterns\u002Fanimation-composition-and-stacking","Stacking Animations With animation-composition",{"path":2206,"title":2207},"\u002Fcss-only-micro-interactions-animations\u002Fkeyframe-animation-patterns\u002Fanimation-fill-mode-explained","animation-fill-mode: What an Animation Applies Before and After It Runs",{"path":2209,"title":2210},"\u002Fcss-only-micro-interactions-animations\u002Fkeyframe-animation-patterns\u002Fcontainer-query-triggered-keyframe-animations","Container-Query-Triggered Keyframe Animations: Animate Differently per Available Space",{"path":2212,"title":2213},"\u002Fcss-only-micro-interactions-animations\u002Fkeyframe-animation-patterns\u002Fcss-only-accordions-and-disclosure","CSS-Only Accordions and Disclosure Widgets with details and summary",{"path":2215,"title":2216},"\u002Fcss-only-micro-interactions-animations\u002Fkeyframe-animation-patterns\u002Fcss-only-loading-spinners-and-skeletons","CSS-Only Loading Spinners and Skeleton Shimmer Screens with @keyframes",{"path":2218,"title":2219},"\u002Fcss-only-micro-interactions-animations\u002Fkeyframe-animation-patterns\u002Fcss-only-toggle-switches-and-checkboxes","CSS-Only Toggle Switches and Checkboxes That Keep the Native Input",{"path":2221,"title":2222},"\u002Fcss-only-micro-interactions-animations\u002Fkeyframe-animation-patterns","Keyframe Animation Patterns: Spec-Compliant Architectures for Modern UIs",{"path":2224,"title":2225},"\u002Fcss-only-micro-interactions-animations\u002Fkeyframe-animation-patterns\u002Fmulti-step-keyframes-and-per-keyframe-easing","Multi-Step Keyframes and Per-Keyframe Easing",{"path":2227,"title":2228},"\u002Fcss-only-micro-interactions-animations\u002Fkeyframe-animation-patterns\u002Fstaggered-list-animations-with-custom-properties","Staggered List Animations Using --i Index Custom Properties",{"path":2230,"title":2231},"\u002Fcss-only-micro-interactions-animations\u002Fperformance-gpu-acceleration\u002Fanimating-box-shadow-and-filters-cheaply","Animating box-shadow and Filters Cheaply",{"path":2233,"title":2234},"\u002Fcss-only-micro-interactions-animations\u002Fperformance-gpu-acceleration\u002Fcontain-property-for-animation-performance","The contain Property for Animation Performance",{"path":2236,"title":2237},"\u002Fcss-only-micro-interactions-animations\u002Fperformance-gpu-acceleration\u002Fcss-triggers-layout-paint-composite","Layout, Paint and Composite: What Triggers What",{"path":2239,"title":2240},"\u002Fcss-only-micro-interactions-animations\u002Fperformance-gpu-acceleration","Performance & GPU Acceleration in CSS: A Developer’s Blueprint",{"path":2242,"title":2243},"\u002Fcss-only-micro-interactions-animations\u002Fperformance-gpu-acceleration\u002Foptimizing-css-animations-for-60fps","Optimizing CSS Animations for 60fps: Budgeting the Frame",{"path":2245,"title":2246},"\u002Fcss-only-micro-interactions-animations\u002Fperformance-gpu-acceleration\u002Fprofiling-animations-in-devtools","Profiling CSS Animations in DevTools: Finding the Frame That Costs Too Much",{"path":2248,"title":2249},"\u002Fcss-only-micro-interactions-animations\u002Fperformance-gpu-acceleration\u002Fwill-change-and-the-compositor-thread","will-change and the Compositor Thread: Layer Promotion Without the Footguns",{"path":2251,"title":2252},"\u002Fcss-only-micro-interactions-animations\u002Fscroll-driven-animations","Scroll-Driven Animations: Binding Motion to Scroll Position in Pure CSS",{"path":2254,"title":2255},"\u002Fcss-only-micro-interactions-animations\u002Fscroll-driven-animations\u002Fscroll-driven-animation-fallbacks","Shipping Scroll-Driven Animations Without Breaking Anything",{"path":2257,"title":2258},"\u002Fcss-only-micro-interactions-animations\u002Fscroll-driven-animations\u002Fscroll-driven-parallax-effects","Scroll-Driven Parallax Effects in CSS",{"path":2260,"title":2261},"\u002Fcss-only-micro-interactions-animations\u002Fscroll-driven-animations\u002Fscroll-progress-bar-without-javascript","A Reading Progress Bar Driven by scroll(root)",{"path":2263,"title":2264},"\u002Fcss-only-micro-interactions-animations\u002Fscroll-driven-animations\u002Fscroll-triggered-reveal-animations","Reveal-on-Scroll with view() and animation-range",{"path":2266,"title":2267},"\u002Fcss-only-micro-interactions-animations\u002Fscroll-driven-animations\u002Ftimeline-scope-for-cross-element-animations","timeline-scope for Cross-Element Animations",{"path":2269,"title":2270},"\u002Fcss-only-micro-interactions-animations\u002Fscroll-driven-animations\u002Fview-timeline-and-animation-range","View Timelines and animation-range",{"path":2272,"title":2273},"\u002Fcss-only-micro-interactions-animations\u002Fview-transitions-for-css-developers\u002Fcross-document-view-transitions","Cross-Document View Transitions",{"path":2275,"title":2276},"\u002Fcss-only-micro-interactions-animations\u002Fview-transitions-for-css-developers","View Transitions for CSS Developers: the Pseudo-Element Tree, Snapshots, and Named Elements",{"path":2278,"title":2279},"\u002Fcss-only-micro-interactions-animations\u002Fview-transitions-for-css-developers\u002Fsame-document-view-transitions","Writing a Same-Document View Transition: the CSS You Actually Author",{"path":2281,"title":2282},"\u002Fcss-only-micro-interactions-animations\u002Fview-transitions-for-css-developers\u002Fview-transition-names-shared-elements","view-transition-name and Shared Elements: Morphing a Thumbnail into a Hero",{"path":2284,"title":2285},"\u002Fcss-only-micro-interactions-animations\u002Fview-transitions-for-css-developers\u002Fview-transition-types-and-classes","View Transition Types and Classes",{"path":2287,"title":2288},"\u002Fcss-only-micro-interactions-animations\u002Fview-transitions-for-css-developers\u002Fview-transitions-for-list-reordering","View Transitions for List Reordering",{"path":2290,"title":2291},"\u002Fcss-only-micro-interactions-animations\u002Fview-transitions-for-css-developers\u002Fview-transitions-with-reduced-motion","Honouring prefers-reduced-motion in View Transitions",{"path":404,"title":2293},"Modern CSS Layouts & Micro-Interactions",{"path":2295,"title":2296},"\u002Fmastering-container-queries-responsive-layouts\u002Fanchor-positioning-and-overlays\u002Fanchor-positioned-tooltips","Anchor-Positioned Tooltips: Tethering, Flipping, and Getting the Semantics Right",{"path":2298,"title":2299},"\u002Fmastering-container-queries-responsive-layouts\u002Fanchor-positioning-and-overlays\u002Fanchor-positioning-fallbacks","Anchor Positioning Fallbacks: A Graceful Floor for Older Browser Versions",{"path":2301,"title":2302},"\u002Fmastering-container-queries-responsive-layouts\u002Fanchor-positioning-and-overlays\u002Fanchor-size-for-matching-widths","anchor-size(): Overlays That Match Their Trigger's Size",{"path":2304,"title":2305},"\u002Fmastering-container-queries-responsive-layouts\u002Fanchor-positioning-and-overlays","CSS Anchor Positioning and Overlays: Tethering Elements Without JavaScript",{"path":2307,"title":2308},"\u002Fmastering-container-queries-responsive-layouts\u002Fanchor-positioning-and-overlays\u002Fpopover-attribute-and-css-styling","The popover Attribute: Top-Layer Overlays With No JavaScript",{"path":2310,"title":2311},"\u002Fmastering-container-queries-responsive-layouts\u002Fanchor-positioning-and-overlays\u002Fpopover-light-dismiss-and-stacking","Popover Light Dismiss, Nesting and Stacking",{"path":2313,"title":2314},"\u002Fmastering-container-queries-responsive-layouts\u002Fanchor-positioning-and-overlays\u002Fposition-area-grid-explained","position-area: The Anchor Placement Grid",{"path":2316,"title":2317},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-fallbacks\u002Fcontainer-query-polyfill-tradeoffs","Container Query Polyfills: What They Cost and When to Skip Them",{"path":2319,"title":2320},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-fallbacks\u002Ffeature-detection-with-supports","Feature Detection with @supports: Syntax, Semantics, and the Traps",{"path":2322,"title":2323},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-fallbacks\u002Fhandling-container-query-fallbacks-for-older-browsers","Handling Container Query Fallbacks for Older Browsers",{"path":2325,"title":2326},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-fallbacks","Container Query Fallbacks: Spec-Compliant CSS Strategies for Legacy Browsers",{"path":2328,"title":2329},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-fallbacks\u002Fintrinsic-layout-fallbacks-without-queries","Intrinsic Layout Fallbacks: Baselines That Adapt Without Any Query",{"path":2331,"title":2332},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-fallbacks\u002Ftesting-fallbacks-without-old-browsers","Testing CSS Fallbacks Without an Old Browser",{"path":2334,"title":2335},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-syntax-basics\u002Fcontainer-queries-inside-css-nesting","Container Queries Inside CSS Nesting: Keeping Responses Next to the Styles They Change",{"path":2337,"title":2338},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-syntax-basics\u002Fcontainer-query-range-and-logic-operators","Container Query Range Syntax and Logic Operators",{"path":2340,"title":2341},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-syntax-basics\u002Fcontainer-query-units-cqi-cqb-explained","Container Query Units Explained: cqi, cqb, cqw, cqh, cqmin and cqmax",{"path":2343,"title":2344},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-syntax-basics\u002Fcontainer-type-size-vs-inline-size","Choosing container-type: inline-size, size, or normal",{"path":2346,"title":2347},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-syntax-basics\u002Fcontainer-vs-media-queries-comparison","Container vs Media Queries: Choosing the Right Reference Box",{"path":2349,"title":2350},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-syntax-basics\u002Fdebugging-container-queries-in-devtools","Debugging Container Queries in DevTools: Why a Rule Doesn't Match",{"path":2352,"title":2353},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-syntax-basics\u002Fhow-to-use-container-queries-in-production","How to Use Container Queries in Production Without a Rewrite",{"path":2355,"title":2356},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-syntax-basics","Container Query Syntax Basics",{"path":2358,"title":2359},"\u002Fmastering-container-queries-responsive-layouts\u002Fcontainer-query-syntax-basics\u002Fnesting-and-naming-container-queries","Nesting and Naming Container Queries: Targeting the Right Ancestor",{"path":2361,"title":2362},"\u002Fmastering-container-queries-responsive-layouts\u002Fcss-grid-and-subgrid-layouts\u002Fauto-fit-minmax-responsive-grids","Responsive Grids with repeat(auto-fit, minmax())",{"path":2364,"title":2365},"\u002Fmastering-container-queries-responsive-layouts\u002Fcss-grid-and-subgrid-layouts\u002Fbuilding-a-dashboard-with-subgrid","Building a Responsive Dashboard Where Cards Align with Subgrid",{"path":2367,"title":2368},"\u002Fmastering-container-queries-responsive-layouts\u002Fcss-grid-and-subgrid-layouts\u002Fgrid-auto-flow-dense-packing","grid-auto-flow: dense for Packed Layouts",{"path":2370,"title":2371},"\u002Fmastering-container-queries-responsive-layouts\u002Fcss-grid-and-subgrid-layouts\u002Fgrid-template-areas-responsive-layouts","Responsive Layouts With grid-template-areas: Rearranging Regions by Name",{"path":2373,"title":2374},"\u002Fmastering-container-queries-responsive-layouts\u002Fcss-grid-and-subgrid-layouts\u002Fholy-grail-layout-with-grid","The Holy-Grail Layout with CSS Grid and Container Queries",{"path":2376,"title":2377},"\u002Fmastering-container-queries-responsive-layouts\u002Fcss-grid-and-subgrid-layouts","CSS Grid and Subgrid Layouts for Responsive Interfaces",{"path":2379,"title":2380},"\u002Fmastering-container-queries-responsive-layouts\u002Fcss-grid-and-subgrid-layouts\u002Fmasonry-style-layouts-with-grid","Masonry-Style Layouts With the CSS That Ships Today",{"path":2382,"title":2383},"\u002Fmastering-container-queries-responsive-layouts\u002Fcss-grid-and-subgrid-layouts\u002Foverlapping-elements-with-grid-stacking","Overlapping Elements With Grid Stacking: Layers Without position: absolute",{"path":2385,"title":2386},"\u002Fmastering-container-queries-responsive-layouts\u002Fcss-grid-and-subgrid-layouts\u002Fsubgrid-vs-nested-grid","Subgrid vs an Independently Nested Grid",{"path":2388,"title":2389},"\u002Fmastering-container-queries-responsive-layouts\u002Fflexbox-layout-patterns\u002Fcentering-in-css-every-method","Centering in CSS: Every Modern Method and When Each One Breaks",{"path":2391,"title":2392},"\u002Fmastering-container-queries-responsive-layouts\u002Fflexbox-layout-patterns\u002Fflex-basis-vs-width","flex-basis vs width: Which Size a Flex Item Actually Starts From",{"path":2394,"title":2395},"\u002Fmastering-container-queries-responsive-layouts\u002Fflexbox-layout-patterns\u002Fflex-grow-and-flex-shrink-explained","flex-grow and flex-shrink Explained",{"path":2397,"title":2398},"\u002Fmastering-container-queries-responsive-layouts\u002Fflexbox-layout-patterns\u002Fflex-wrap-intrinsic-responsive-rows","Breakpoint-Free Responsive Rows With flex-wrap and flex-basis",{"path":2400,"title":2401},"\u002Fmastering-container-queries-responsive-layouts\u002Fflexbox-layout-patterns\u002Fflexbox-gap-and-spacing","Flexbox gap vs Margins: Spacing Items Without Edge Hacks",{"path":2403,"title":2404},"\u002Fmastering-container-queries-responsive-layouts\u002Fflexbox-layout-patterns","Flexbox Layout Patterns: One-Dimensional Layout for Real Components",{"path":2406,"title":2407},"\u002Fmastering-container-queries-responsive-layouts\u002Fflexbox-layout-patterns\u002Fsticky-footer-with-flexbox-and-grid","Sticky Footer With Flexbox or Grid: Pinning the Footer on Short Pages",{"path":2409,"title":2410},"\u002Fmastering-container-queries-responsive-layouts\u002Ffluid-typography-with-clamp\u002Fclamp-vs-media-query-typography","clamp() Fluid Type vs Media-Query Step Typography: Tradeoffs and Anatomy",{"path":2412,"title":2413},"\u002Fmastering-container-queries-responsive-layouts\u002Ffluid-typography-with-clamp\u002Fdebugging-clamp-values","Debugging clamp(): Values That Are Ignored, Stuck or Never Fluid",{"path":2415,"title":2416},"\u002Fmastering-container-queries-responsive-layouts\u002Ffluid-typography-with-clamp\u002Ffluid-line-height-and-measure","Fluid Line Height and Measure: Keeping Text Readable as It Scales",{"path":2418,"title":2419},"\u002Fmastering-container-queries-responsive-layouts\u002Ffluid-typography-with-clamp\u002Ffluid-space-scale-with-clamp","Building a Fluid Spacing Scale with clamp() and Container Units",{"path":2421,"title":2422},"\u002Fmastering-container-queries-responsive-layouts\u002Ffluid-typography-with-clamp\u002Ffluid-type-accessibility-and-zoom","Fluid Type, Accessibility and Zoom: The vw-Only Trap",{"path":2424,"title":2425},"\u002Fmastering-container-queries-responsive-layouts\u002Ffluid-typography-with-clamp\u002Ffluid-typography-without-javascript","Fluid Typography Without JavaScript: A Precision CSS Reference",{"path":2427,"title":2428},"\u002Fmastering-container-queries-responsive-layouts\u002Ffluid-typography-with-clamp","Fluid Typography with clamp(): A Practical Guide for Modern CSS",{"path":2430,"title":2431},"\u002Fmastering-container-queries-responsive-layouts\u002Ffluid-typography-with-clamp\u002Ftext-wrap-balance-and-pretty","text-wrap: balance and pretty: Better Line Breaks Without Manual Breaks",{"path":2433,"title":2434},"\u002Fmastering-container-queries-responsive-layouts","Mastering Container Queries & Responsive Layouts",{"path":2436,"title":2437},"\u002Fmastering-container-queries-responsive-layouts\u002Fintrinsic-sizing-techniques\u002Faspect-ratio-for-responsive-media","Using aspect-ratio for Responsive Media and Preventing Layout Shift",{"path":2439,"title":2440},"\u002Fmastering-container-queries-responsive-layouts\u002Fintrinsic-sizing-techniques\u002Fcontent-visibility-and-contain-intrinsic-size","content-visibility and contain-intrinsic-size: Rendering Only What Is Near the Screen",{"path":2442,"title":2443},"\u002Fmastering-container-queries-responsive-layouts\u002Fintrinsic-sizing-techniques","Intrinsic Sizing Techniques: Modern CSS Layouts for Responsive UI",{"path":2445,"title":2446},"\u002Fmastering-container-queries-responsive-layouts\u002Fintrinsic-sizing-techniques\u002Flayout-widths-with-min-max-clamp","Layout Widths With min(), max() and clamp(): Sizing Without Breakpoints",{"path":2448,"title":2449},"\u002Fmastering-container-queries-responsive-layouts\u002Fintrinsic-sizing-techniques\u002Fmin-max-fit-content-explained","min-content, max-content, and fit-content() Explained",{"path":2451,"title":2452},"\u002Fmastering-container-queries-responsive-layouts\u002Fintrinsic-sizing-techniques\u002Fobject-fit-and-object-position","object-fit and object-position: Images That Fit Any Box",{"path":2454,"title":2455},"\u002Fmastering-container-queries-responsive-layouts\u002Fintrinsic-sizing-techniques\u002Fpreventing-flex-and-grid-overflow","The min-width: auto Trap in Flex and Grid Layouts",{"path":2457,"title":2458},"\u002Fmastering-container-queries-responsive-layouts\u002Fmodern-css-reset-strategies\u002Fcascade-layers-for-reset-and-tokens","Cascade Layers for Reset and Design Tokens",{"path":2460,"title":2461},"\u002Fmastering-container-queries-responsive-layouts\u002Fmodern-css-reset-strategies\u002Fcascade-layers-vs-specificity-hacks","Cascade Layers vs Specificity Hacks: Ordering Instead of Escalating",{"path":2463,"title":2464},"\u002Fmastering-container-queries-responsive-layouts\u002Fmodern-css-reset-strategies\u002Fcss-scope-for-component-styles","@scope for Component Styles: Short Selectors That Cannot Leak",{"path":2466,"title":2467},"\u002Fmastering-container-queries-responsive-layouts\u002Fmodern-css-reset-strategies","Modern CSS Reset Strategies: A Spec-Compliant Foundation",{"path":2469,"title":2470},"\u002Fmastering-container-queries-responsive-layouts\u002Fmodern-css-reset-strategies\u002Frevert-layer-and-revert-keywords","initial, inherit, unset, revert and revert-layer: Undoing Styles Correctly",{"path":2472,"title":2473},"\u002Fmastering-container-queries-responsive-layouts\u002Fmodern-css-reset-strategies\u002Fwriting-a-minimal-modern-reset","Writing a Minimal Modern CSS Reset: Every Line Justified",{"path":2475,"title":2476},"\u002Fmastering-container-queries-responsive-layouts\u002Fparent-aware-layouts-with-has\u002Fcontent-aware-card-layouts-with-has","Content-Aware Card Layouts With :has(): One Component, Many Shapes",{"path":2478,"title":2479},"\u002Fmastering-container-queries-responsive-layouts\u002Fparent-aware-layouts-with-has\u002Fempty-and-loading-states-with-has","Empty and Loading States With ()",{"path":2481,"title":2482},"\u002Fmastering-container-queries-responsive-layouts\u002Fparent-aware-layouts-with-has\u002Fform-validation-layouts-with-has","Form Validation Layouts With :has(): Styling Groups From Field State",{"path":2484,"title":2485},"\u002Fmastering-container-queries-responsive-layouts\u002Fparent-aware-layouts-with-has\u002Fhas-selector-performance",":has() Selector Performance: What Is Cheap, What Is Not, and How to Measure",{"path":2487,"title":2488},"\u002Fmastering-container-queries-responsive-layouts\u002Fparent-aware-layouts-with-has\u002Fhas-vs-container-style-queries",":has() vs Container Style Queries: Discovered State and Published State",{"path":2490,"title":2491},"\u002Fmastering-container-queries-responsive-layouts\u002Fparent-aware-layouts-with-has","Parent-Aware Layouts With :has(): Letting Containers React to Their Contents",{"path":2493,"title":2494},"\u002Fmastering-container-queries-responsive-layouts\u002Fparent-aware-layouts-with-has\u002Fquantity-queries-with-has","Quantity Queries With :has(): Layouts That Respond to How Many Items There Are",{"path":2496,"title":2497},"\u002Fmastering-container-queries-responsive-layouts\u002Fresponsive-component-patterns\u002Fbuilding-responsive-cards-with-container-queries","Building Responsive Cards with Container Queries: A Production-Ready Guide",{"path":2499,"title":2500},"\u002Fmastering-container-queries-responsive-layouts\u002Fresponsive-component-patterns\u002Fcontainer-query-data-tables","Container Query Data Tables: Reflowing Tables to Cards",{"path":2502,"title":2503},"\u002Fmastering-container-queries-responsive-layouts\u002Fresponsive-component-patterns\u002Fcontainer-query-sidebar-layouts","Container Query Sidebar Layouts That Travel Between Contexts",{"path":2505,"title":2506},"\u002Fmastering-container-queries-responsive-layouts\u002Fresponsive-component-patterns","Responsive Component Patterns: Architecture & Implementation",{"path":2508,"title":2509},"\u002Fmastering-container-queries-responsive-layouts\u002Fresponsive-component-patterns\u002Fresponsive-forms-with-container-queries","Responsive Forms with Container Queries: Reflow Without Losing the Wiring",{"path":2511,"title":2512},"\u002Fmastering-container-queries-responsive-layouts\u002Fresponsive-component-patterns\u002Fresponsive-hero-sections-with-container-queries","Responsive Hero Sections With Container Queries",{"path":2514,"title":2515},"\u002Fmastering-container-queries-responsive-layouts\u002Fresponsive-component-patterns\u002Fresponsive-navigation-without-media-queries","Responsive Navigation Without Media Queries Using Container Queries",{"path":2517,"title":2518},"\u002Fmastering-container-queries-responsive-layouts\u002Fresponsive-component-patterns\u002Fresponsive-pricing-tables","Responsive Pricing Tables: Aligned Features, a Clear Recommendation, Any Width",{"path":2520,"title":2521},"\u002Fmastering-container-queries-responsive-layouts\u002Fresponsive-component-patterns\u002Ftabs-that-become-accordions","Tabs That Become an Accordion: One Component, Two Layouts",{"path":2523,"title":2524},"\u002Fmastering-container-queries-responsive-layouts\u002Fscroll-snap-and-overflow-layouts\u002Fcss-only-carousel-with-scroll-snap","A CSS-Only Carousel With Scroll Snap",{"path":2526,"title":2527},"\u002Fmastering-container-queries-responsive-layouts\u002Fscroll-snap-and-overflow-layouts\u002Fhorizontal-scrolling-card-rows","Horizontal Scrolling Card Rows: Swipeable Lists That Stay in Their Lane",{"path":2529,"title":2530},"\u002Fmastering-container-queries-responsive-layouts\u002Fscroll-snap-and-overflow-layouts","Scroll Snap & Overflow Layouts: Designing Components That Scroll on Purpose",{"path":2532,"title":2533},"\u002Fmastering-container-queries-responsive-layouts\u002Fscroll-snap-and-overflow-layouts\u002Foverscroll-behavior-for-nested-scrolling","overscroll-behavior: Taming Nested Scrolling, Pull-to-Refresh and Back-Swipe",{"path":2535,"title":2536},"\u002Fmastering-container-queries-responsive-layouts\u002Fscroll-snap-and-overflow-layouts\u002Fscroll-margin-and-scroll-padding-for-sticky-headers","scroll-margin and scroll-padding: Keeping Targets Clear of Sticky Headers",{"path":2538,"title":2539},"\u002Fmastering-container-queries-responsive-layouts\u002Fstyle-queries-and-container-state\u002Fcombining-size-and-style-queries","Combining Size and Style Container Queries",{"path":2541,"title":2542},"\u002Fmastering-container-queries-responsive-layouts\u002Fstyle-queries-and-container-state\u002Fcontainer-style-query-theming","Container Style Query Theming: One Token Instead of a Variant Class Matrix",{"path":2544,"title":2545},"\u002Fmastering-container-queries-responsive-layouts\u002Fstyle-queries-and-container-state","Style Queries and Container State: Token-Driven Component Variants",{"path":2547,"title":2548},"\u002Fmastering-container-queries-responsive-layouts\u002Fstyle-queries-and-container-state\u002Fstyle-queries-with-custom-properties","Style Queries With Custom Properties: Declaring, Inheriting, and Matching Tokens",{"path":2550,"title":2551},"\u002Fmastering-container-queries-responsive-layouts\u002Fstyle-queries-and-container-state\u002Fstyle-query-component-variants","Component Variants With Style Queries: One Token, Many Looks",{"path":2553,"title":2554},"\u002Fmastering-container-queries-responsive-layouts\u002Fstyle-queries-and-container-state\u002Fstyle-query-fallbacks-and-support","Style Query Fallbacks and Support: Designing for Older Browser Versions",{"path":2556,"title":2557},"\u002Fmastering-container-queries-responsive-layouts\u002Fviewport-units-and-mobile-layout\u002Fdvh-svh-lvh-mobile-viewport-units","dvh, svh and lvh: Choosing the Right Mobile Viewport Unit",{"path":2559,"title":2560},"\u002Fmastering-container-queries-responsive-layouts\u002Fviewport-units-and-mobile-layout\u002Ffull-bleed-sections-in-constrained-layouts","Full-Bleed Sections in a Constrained Layout: Breaking Out Without Breaking the Page",{"path":2562,"title":2563},"\u002Fmastering-container-queries-responsive-layouts\u002Fviewport-units-and-mobile-layout","Viewport Units & Mobile Layout: Designing for the Screen You Actually Get",{"path":2565,"title":2566},"\u002Fmastering-container-queries-responsive-layouts\u002Fviewport-units-and-mobile-layout\u002Fsafe-area-insets-for-notched-screens","Safe Area Insets: Designing Around Notches, Corners and Home Indicators",{"path":2568,"title":2569},"\u002Fmastering-container-queries-responsive-layouts\u002Fviewport-units-and-mobile-layout\u002Fviewport-units-vs-container-units","Viewport Units vs Container Units: Choosing the Right Reference Box",{"path":2571,"title":2572},"\u002Fmastering-container-queries-responsive-layouts\u002Fviewport-units-and-mobile-layout\u002Fvirtual-keyboard-and-interactive-widget","Layouts That Survive the Virtual Keyboard",{"title":2574,"caption":2575,"height":2576,"html":2577,"css":2578},"Card hover choreographed with transition-delay","Hover or Tab to the card: it lifts first, then the image zooms, the caption rises and the link appears, one beat apart; leaving reverses the order.",360,"\n\u003Ca class=\"story\" href=\"#\">\n  \u003Cdiv class=\"story__img\" role=\"img\" aria-label=\"Coastline\">\u003C\u002Fdiv>\n  \u003Cdiv class=\"story__caption\">\u003Ch3>Along the coast\u003C\u002Fh3>\u003C\u002Fdiv>\n  \u003Cspan class=\"story__cta\">Read the story →\u003C\u002Fspan>\n\u003C\u002Fa>","\n:root { --step: 40ms; --ease-out: cubic-bezier(0.22, 1, 0.36, 1); }\n.story { display: grid; width: 16rem; border-radius: 14px; overflow: hidden; background: #0f172a; color: #f8fafc; text-decoration: none; transition: translate 220ms var(--ease-out) calc(var(--step) * 2); }\n.story__img { aspect-ratio: 4 \u002F 3; background: linear-gradient(135deg, #38bdf8, #6366f1); transition: scale 260ms var(--ease-out) var(--step); }\n.story__caption { padding: 0.9rem 1rem 0.2rem; translate: 0 0.5rem; opacity: 0.7; transition: translate 220ms var(--ease-out) 0ms, opacity 220ms ease 0ms; }\n.story__caption h3 { margin: 0; }\n.story__cta { margin: 0 1rem 1rem; opacity: 0; transition: opacity 160ms ease 0ms; }\n.story:is(:hover, :focus-visible) { translate: 0 -4px; transition: translate 220ms var(--ease-out) 0ms; }\n.story:is(:hover, :focus-visible) .story__img { scale: 1.05; transition: scale 260ms var(--ease-out) var(--step); }\n.story:is(:hover, :focus-visible) .story__caption { translate: 0 0; opacity: 1; transition: translate 220ms var(--ease-out) calc(var(--step) * 2), opacity 220ms ease calc(var(--step) * 2); }\n.story:is(:hover, :focus-visible) .story__cta { opacity: 1; transition: opacity 160ms ease calc(var(--step) * 3); }\n.story:focus-visible { outline: 3px solid #facc15; outline-offset: 3px; }\n@media (prefers-reduced-motion: reduce) {\n  .story, .story * { transition-duration: 1ms !important; transition-delay: 0ms !important; }\n  .story:is(:hover, :focus-visible) { translate: none; }\n  .story:is(:hover, :focus-visible) .story__img { scale: none; }\n}",1789717748196]