VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

The Gold Standard of Websites | Separating linear() Piecewise Easing from cubic-bezier() Single-Curve Easing

linear(0, 0.2 30%, 1) joins two straight sections with a corner at input 0.30. cubic-bezier(0.3,0.2,1,1) produces a continuously curved mapping controlled by two points; it does not pass through an author-declared stop at 30%. Sampling only at 0, 0.3 and 1 can conceal the difference, so calculate intermediate values.

This lesson continues The Gold Standard of Websites, the Gold Standard of Education and the How X Works hub. Every duration, stop, control point, sampled progress and animated value is an original synthetic fixture. The lesson does not claim that easing proves physical motion, promise Level 2 support or treat frame timestamps as exact schedule guarantees.

Record the literal easing function, parsed and computed value, normalized stop positions, input progress, output progress, iteration state, animated property value, timestamps and browser build. Separate a timing function from dropped frames, compositor scheduling and property interpolation.

The CSS Easing Functions Level 2 defines linear(), cubic-bezier() and their progress mappings. It is a First Public Working Draft, while cubic Bézier easing builds on established Level 1 behavior. Evidence must distinguish the mathematical mapping from a property’s animated value and report implementation support.

THE GOLD STANDARD · WEBSITES

linear() joins declared progress stops; cubic-bezier() evaluates one cubic curve

linear() defines a piecewise linear mapping through output values and optional input percentages. cubic-bezier() defines one cubic Bézier timing curve using two control points between fixed endpoints. Both map input progress to output progress, but their parameters, curvature and diagnostic evidence differ.

Fast route
Start with the decisive rule.
Start this route

Measurement route
Build the browser state and evidence ledger.
Start this route

Comparison route
Separate the nearest lookalikes.
Start this route

Transfer route
Change the context and retest.
Start this route

Reporting route
State limits and continue reading.
Start this route

Chapter contents

Open the full chapter index

1. Name the mapping family

linear() is piecewise linear through stops; cubic-bezier() is one parametric cubic mapping. Diagnose the family before reading numbers.

Original worked example. A three-stop linear function has two straight segments. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Replace it with one cubic curve matching endpoints. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Plot input and output progress for both. If this check fails, mark the claim unavailable and repair the method before continuing.

Keep source syntax, parsed grammar, computed values, used geometry or font state and final pixels in separate fields so one layer cannot rewrite another.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Contents · Next chapter

2. Normalize omitted positions

linear() distributes omitted input positions according to its rules. Output values alone do not show where corners occur.

Original worked example. Four outputs omit the two middle percentages. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Specify 20% and 80% explicitly. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Archive normalized stop positions. If this check fails, mark the claim unavailable and repair the method before continuing.

Use a positive case, a clean negative case and an unavailable case. Unavailable means the required syntax, font, resource or observation was not established.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

3. Handle repeated positions

Two outputs at one input percentage create a jump-like vertical change in the piecewise mapping rather than a curved acceleration.

Original worked example. At 50%, output changes from 0.3 to 0.7. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Separate the positions by one percent. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Sample immediately before, at and after the boundary. If this check fails, mark the claim unavailable and repair the method before continuing.

Change one consequential premise while holding the rest fixed, predict the new result before inspection and preserve any disagreement.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

4. Trace extra control points

cubic-bezier() fixes endpoints at zero and one and uses two controls. Controls shape the curve but are not declared passage stops.

Original worked example. Controls are (0.25,0.1) and (0.25,1). The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Move only the first y coordinate. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Calculate several input-output pairs. If this check fails, mark the claim unavailable and repair the method before continuing.

Carry one plausible rival explanation through the ledger and name the next observation that would distinguish it.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

5. Respect x-coordinate limits

The cubic control x coordinates must stay in the allowed zero-to-one range so input progress maps unambiguously.

Original worked example. cubic-bezier(1.2,0,0.8,1) is invalid. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Clamp only the first x to 1. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Record parse support and winning value. If this check fails, mark the claim unavailable and repair the method before continuing.

Archive exact declarations, strings, computed styles, geometry, loaded resources and browser version.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

6. Allow output overshoot

Cubic control y values can leave the zero-to-one range, producing output overshoot even though input x controls remain constrained.

Original worked example. A y control of 1.4 rises above final progress. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Set it to 1 without changing x. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Measure output progress, not clipped pixels alone. If this check fails, mark the claim unavailable and repair the method before continuing.

State Working Draft, Editor’s Draft or living-standard status accurately and keep essential content usable when experimental styling is absent.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

7. Compare slope changes

linear() has constant slope within each segment and corners at stop boundaries; a cubic’s slope changes continuously except degenerate cases.

Original worked example. A two-segment mapping changes slope at 40%. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Add more linear stops to approximate the curve. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Compare derivatives or finite differences. If this check fails, mark the claim unavailable and repair the method before continuing.

Keep source syntax, parsed grammar, computed values, used geometry or font state and final pixels in separate fields so one layer cannot rewrite another.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

8. Distinguish linear keyword

The keyword linear is the identity mapping, while linear() can encode many piecewise mappings. Parentheses are consequential.

Original worked example. linear maps 0.4 to 0.4; linear(0,1 40%,1) does not. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Replace only the specified timing function. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Save exact serialization. If this check fails, mark the claim unavailable and repair the method before continuing.

Use a positive case, a clean negative case and an unavailable case. Unavailable means the required syntax, font, resource or observation was not established.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

9. Convert duration to input progress

Timing functions receive normalized input progress; wall-clock time must be divided by active duration after delays and iteration timing.

Original worked example. At 300ms of a 1000ms active interval, input is 0.3. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Double duration while sampling at 300ms. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Record timeline and normalized input separately. If this check fails, mark the claim unavailable and repair the method before continuing.

Change one consequential premise while holding the rest fixed, predict the new result before inspection and preserve any disagreement.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

10. Separate easing from value interpolation

The easing output selects interpolation progress; the property then computes its value between keyframes. A nonlinear value space can add another layer.

Original worked example. Opacity moves from 0.2 to 1 using output 0.6. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Use transform rotation with the same easing. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Store easing output and resulting property value. If this check fails, mark the claim unavailable and repair the method before continuing.

Carry one plausible rival explanation through the ledger and name the next observation that would distinguish it.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

11. Test iteration boundaries

Each iteration can restart local progress, while direction modes can reverse how the timing mapping is applied.

Original worked example. alternate direction reverses the second iteration. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Switch to normal without changing easing. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Log iteration index, direction and local progress. If this check fails, mark the claim unavailable and repair the method before continuing.

Archive exact declarations, strings, computed styles, geometry, loaded resources and browser version.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

12. Use dense sampling

A few frames can make a piecewise mapping resemble a cubic. Sample around every linear stop and across the full curve.

Original worked example. Measurements at 0, .5 and 1 match. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Add samples at .1 intervals and near .5. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Preserve raw samples before fitting. If this check fails, mark the claim unavailable and repair the method before continuing.

State Working Draft, Editor’s Draft or living-standard status accurately and keep essential content usable when experimental styling is absent.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

13. Control dropped frames

Frame delivery can skip expected sample times without changing the easing definition. A stutter is not automatically a discontinuous timing function.

Original worked example. A busy main thread omits the 400ms frame. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Repeat on the compositor or with an offline calculation. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Compare requested and observed timestamps. If this check fails, mark the claim unavailable and repair the method before continuing.

Keep source syntax, parsed grammar, computed values, used geometry or font state and final pixels in separate fields so one layer cannot rewrite another.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

14. Handle unsupported syntax

A browser may reject linear() while accepting cubic-bezier(). A fallback easing then owns the animation.

Original worked example. The earlier ease declaration wins. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Use CSS.supports and a supporting build. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Record parsed and computed timing functions. If this check fails, mark the claim unavailable and repair the method before continuing.

Use a positive case, a clean negative case and an unavailable case. Unavailable means the required syntax, font, resource or observation was not established.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

15. Transfer across properties

The same easing mapping can drive opacity, length or transform, but perceptual results differ because the value spaces differ.

Original worked example. Output 0.7 maps to 70px and 0.7 opacity. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Change only the animated property. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Keep the timing trace identical. If this check fails, mark the claim unavailable and repair the method before continuing.

Change one consequential premise while holding the rest fixed, predict the new result before inspection and preserve any disagreement.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

16. Check reduced-motion behavior

Motion preferences may remove or shorten animation. Essential state must remain available without depending on a distinctive easing curve.

Original worked example. A panel opens instantly under reduced motion. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Enable the preference and keyboard navigation. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Verify state, focus and content. If this check fails, mark the claim unavailable and repair the method before continuing.

Carry one plausible rival explanation through the ledger and name the next observation that would distinguish it.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

17. Build a timing matrix

Cover omitted and repeated stops, overshoot, invalid controls, delays, iterations, reversals, dropped frames and unsupported syntax.

Original worked example. Each row predicts input and output progress. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Repeat at two durations and refresh rates. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Version stylesheet, browser and samples. If this check fails, mark the claim unavailable and repair the method before continuing.

Archive exact declarations, strings, computed styles, geometry, loaded resources and browser version.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents · Next chapter

18. Use the owning specification

CSS Easing Level 2 owns linear() and cubic-bezier() mappings; Web Animations supplies timeline and effect timing context.

Original worked example. The route follows parse, normalization, input progress, easing output and property interpolation. The declarations, values and observations are explicit so the reader can reconstruct the decision instead of trusting a label.

Changed-context transfer. Rerun as the First Public Working Draft evolves. State what changed, predict the consequence and revise only the conclusion that depended on that condition.

Practical evidence check. Save exact URLs, status and access date. If this check fails, mark the claim unavailable and repair the method before continuing.

State Working Draft, Editor’s Draft or living-standard status accurately and keep essential content usable when experimental styling is absent.

Before closing, reconcile the fixture against the chapter rule: identify the source, parsed declaration, computed state, used geometry or font state and first missing obligation; change one condition and preserve the raw trace beside the revised result. End the chapter with three sentences: what the evidence establishes, what it does not establish and what observation would change the conclusion. This keeps the lesson useful when the browser, stylesheet, text, font or resource state changes. A strong record also names the datum, denominator, section or coordinate system that governed the decision, so a later reader can repeat the reasoning without importing an unstated shortcut.

Previous chapter · Contents

Sources and further study

CSS Easing Functions Level 2. Used for the standard definitions, material mechanisms or method limits developed in this lesson.

Web Animations. Used for the standard definitions, material mechanisms or method limits developed in this lesson.

CSS Animations Level 2. Used for the standard definitions, material mechanisms or method limits developed in this lesson.

The worked examples and transfer checks are developed here and state their own assumptions. The linked sources support the underlying CSS, Unicode, geometry, font and rendering principles.

Return to contents · Return to The Gold Standard of Websites