diff options
author | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2022-01-22 22:56:36 +0900 |
---|---|---|
committer | Masahiro FUJIMOTO <mfujimot@gmail.com> | 2022-01-29 21:52:21 +0900 |
commit | 8b42f444c5c10e0abc2b8015a0a68e3798f9bea9 (patch) | |
tree | 173557324db5d538b2cd00862e45438023d5a622 /files/ja/web/css/animation-direction/index.html | |
parent | fccf8905d56b2269c8a0ad28629240a8301465e8 (diff) | |
download | translated-content-8b42f444c5c10e0abc2b8015a0a68e3798f9bea9.tar.gz translated-content-8b42f444c5c10e0abc2b8015a0a68e3798f9bea9.tar.bz2 translated-content-8b42f444c5c10e0abc2b8015a0a68e3798f9bea9.zip |
CSS animations 系のプロパティを移行
Diffstat (limited to 'files/ja/web/css/animation-direction/index.html')
-rw-r--r-- | files/ja/web/css/animation-direction/index.html | 96 |
1 files changed, 0 insertions, 96 deletions
diff --git a/files/ja/web/css/animation-direction/index.html b/files/ja/web/css/animation-direction/index.html deleted file mode 100644 index 88c4f865ce..0000000000 --- a/files/ja/web/css/animation-direction/index.html +++ /dev/null @@ -1,96 +0,0 @@ ---- -title: animation-direction -slug: Web/CSS/animation-direction -tags: - - CSS - - CSS Animations - - CSS Property - - CSS アニメーション - - CSS プロパティ - - Reference -translation_of: Web/CSS/animation-direction ---- -<div>{{CSSRef}}</div> - -<p><a href="/ja/docs/CSS">CSS</a> の <strong><code>animation-direction</code></strong> プロパティは、アニメーション再生の向きを順方向、逆方向、前後反転のいずれにするかを設定します。</p> - -<div>{{EmbedInteractiveExample("pages/css/animation-direction.html")}}</div> - -<p class="hidden">このデモのソースファイルは GitHub リポジトリに格納されています。デモプロジェクトに協力したい場合は、 <a href="https://github.com/mdn/interactive-examples">https://github.com/mdn/interactive-examples</a> をクローンしてプルリクエストを送信してください。</p> - -<p>アニメーションのプロパティすべてを一度に設定するには、一括指定プロパティである {{cssxref("animation")}} プロパティを使用すると便利です。</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="brush: css no-line-numbers">/* 単一のアニメーション */ -animation-direction: normal; -animation-direction: reverse; -animation-direction: alternate; -animation-direction: alternate-reverse; - -/* 複数のアニメーション */ -animation-direction: normal, reverse; -animation-direction: alternate, reverse, normal; - -/* グローバル値 */ -animation-direction: inherit; -animation-direction: initial; -animation-direction: unset; -</pre> - -<h3 id="Values" name="Values">値</h3> - -<dl> - <dt><code>normal</code></dt> - <dd>アニメーションを毎回<em>順方向</em>に再生します。言い換えれば、アニメーション周期ごとに、アニメーションを最初の状態にリセットしてそこからまた始めます。これが既定値です。</dd> - <dt><code>reverse</code></dt> - <dd>アニメーションを毎回<em>逆方向</em>に再生します。言い換えれば、アニメーション周期ごとに、アニメーションを最後の状態にリセットしてそこからまた始めます。アニメーションを逆方向に実行し、タイミング関数も逆になります。例えば、タイミング関数の <code>ease-in</code> が <code>ease-out</code> になります。</dd> - <dt><code>alternate</code></dt> - <dd>アニメーションを毎回反転させ、初回は<em>順方向</em>になります。周期が偶数か奇数かを特定する回数は1から始まります。</dd> - <dt><code>alternate-reverse</code></dt> - <dd>アニメーションを毎回反転させ、初回は<em>逆方向</em>になります。周期が偶数か奇数かを特定する回数は1から始まります。</dd> -</dl> - -<div class="note"> -<p><strong>メモ</strong>: <code>animation-*</code> プロパティにコンマ区切りで複数の値を指定した場合、 {{cssxref("animation-name")}} プロパティで指定したアニメーションに割り当てられますが、いくつあるかによって異なる方法で割り当てられます。詳しくは、<a href="/ja/docs/Web/CSS/CSS_Animations/Using_CSS_animations#Setting_multiple_animation_property_values">複数のアニメーションプロパティ値の設定</a> を参照してください。</p> -</div> - -<h3 id="Formal_syntax" name="Formal_syntax">形式文法</h3> - -{{csssyntax}} - -<h2 id="Examples" name="Examples">例</h2> - -<p><a href="/ja/docs/Web/CSS/CSS_Animations/Using_CSS_animations" title="CSS/CSS animations">CSS アニメーション</a>を参照してください。</p> - -<h2 id="Specifications" name="Specifications">仕様書</h2> - -<p>{{cssinfo}}</p> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">仕様書</th> - <th scope="col">状態</th> - <th scope="col">備考</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('CSS3 Animations', '#animation-direction', 'animation-direction')}}</td> - <td>{{Spec2('CSS3 Animations')}}</td> - <td>初回定義。</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2> - -<p>{{Compat("css.properties.animation-direction")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li><a href="/ja/docs/Web/CSS/CSS_Animations/Using_CSS_animations" title="Tutorial about CSS animations">CSS アニメーションの使用</a></li> - <li>JavaScript {{domxref("AnimationEvent")}} API</li> -</ul> |