For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/css/properties/transition-timing-function.md.
Lynx
  • English
  • transition-timing-function

    Introduction

    The transition-timing-function CSS property sets how intermediate values are calculated for CSS properties being affected by a transition effect.

    Examples

    Syntax

    transition-timing-function: ease;
    transition-timing-function: ease-in;
    transition-timing-function: ease-out;
    transition-timing-function: ease-in-out;
    transition-timing-function: linear;
    transition-timing-function: step-start;
    transition-timing-function: step-end;
    
    transition-timing-function: cubic-bezier(0.1, 0.7, 1, 0.1);

    Values

    • linear

    • ease

    • ease-in

    • ease-out

    • ease-in-out

    • square-bezier()

    • cubic-bezier()

    Default : linear

    Formal definition

    Initial valueempty value
    Applies toall elements
    Inheritedno
    Animatableno

    Formal syntax

    transition-timing-function:linear|ease|ease-in|ease-out|ease-in-out|square-bezier()|cubic-bezier();

    More

    Compatibility

    LCD tables only load in the browser

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.