CSS values syntax

  • Revision slug: CSS/CSS_values_syntax
  • Revision title: CSS values syntax
  • Revision id: 313275
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment

Revision Content

{{draft()}}

Animations
Property Syntax Initial value
{{cssxref("animation-name")}} [ none | IDENT ]# none
{{cssxref("animation-delay")}} {{xref_csstime()}}# 0s
{{cssxref("animation-direction")}} [ normal | reverse | alternate | alternate-reverse ]# normal
{{cssxref("animation-duration")}} {{xref_csstime()}}# 0s
{{cssxref("animation-fill-mode")}} [ none | forwards | backwards | both ]# none

 

Revision Source

<p>{{draft()}}</p>
<table class="standard-table">
  <thead>
    <tr>
      <th colspan="3" scope="col">Animations</th>
    </tr>
    <tr>
      <th scope="col">Property</th>
      <th scope="col">Syntax</th>
      <th scope="col">Initial value</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>{{cssxref("animation-name")}}</td>
      <td id="syntax-animation-name"><code>[ none | IDENT ]#</code></td>
      <td id="initial-animation-name"><code>none</code></td>
    </tr>
    <tr>
      <td>{{cssxref("animation-delay")}}</td>
      <td id="syntax-animation-delay">{{xref_csstime()}}<code>#</code></td>
      <td id="initial-animation-delay"><code>0s</code></td>
    </tr>
    <tr>
      <td>{{cssxref("animation-direction")}}</td>
      <td id="syntax-animation-direction"><code>[ normal | reverse | alternate | alternate-reverse ]#</code></td>
      <td id="initial-animation-direction"><code>normal</code></td>
    </tr>
    <tr>
      <td>{{cssxref("animation-duration")}}</td>
      <td id="syntax-animation-duration">{{xref_csstime()}}<code>#</code></td>
      <td id="initial-animation-duration"><code>0s</code></td>
    </tr>
    <tr>
      <td>{{cssxref("animation-fill-mode")}}</td>
      <td id="syntax-animation-fill-mode"><code>[ none | forwards | backwards | both ]#</code></td>
      <td id="initial-animation-fill-mode"><code>none</code></td>
    </tr>
  </tbody>
</table>
<p>&nbsp;</p>
Revert to this revision