aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/css/animation-delay/index.md
diff options
context:
space:
mode:
authorMasahiro FUJIMOTO <mfujimot@gmail.com>2022-01-22 22:56:36 +0900
committerMasahiro FUJIMOTO <mfujimot@gmail.com>2022-01-29 21:52:21 +0900
commit8b42f444c5c10e0abc2b8015a0a68e3798f9bea9 (patch)
tree173557324db5d538b2cd00862e45438023d5a622 /files/ja/web/css/animation-delay/index.md
parentfccf8905d56b2269c8a0ad28629240a8301465e8 (diff)
downloadtranslated-content-8b42f444c5c10e0abc2b8015a0a68e3798f9bea9.tar.gz
translated-content-8b42f444c5c10e0abc2b8015a0a68e3798f9bea9.tar.bz2
translated-content-8b42f444c5c10e0abc2b8015a0a68e3798f9bea9.zip
CSS animations 系のプロパティを移行
Diffstat (limited to 'files/ja/web/css/animation-delay/index.md')
-rw-r--r--files/ja/web/css/animation-delay/index.md87
1 files changed, 87 insertions, 0 deletions
diff --git a/files/ja/web/css/animation-delay/index.md b/files/ja/web/css/animation-delay/index.md
new file mode 100644
index 0000000000..858bf36c45
--- /dev/null
+++ b/files/ja/web/css/animation-delay/index.md
@@ -0,0 +1,87 @@
+---
+title: animation-delay
+slug: Web/CSS/animation-delay
+tags:
+ - Animation
+ - CSS
+ - CSS アニメーション
+ - CSS プロパティ
+ - Reference
+ - animation-delay
+translation_of: Web/CSS/animation-delay
+---
+<div>{{CSSRef}}</div>
+
+<p><a href="/ja/docs/Web/CSS">CSS</a> の <strong><code>animation-delay</code></strong> プロパティは、アニメーションをいつ開始するかを指定します。アニメーションは未来のある時点から、直ちに最初から、または直ちにアニメーション周期の途中から始めることができます。</p>
+
+<div>{{EmbedInteractiveExample("pages/css/animation-delay.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-delay: 3s;
+animation-delay: 0s;
+animation-delay: -1500ms;
+
+/* 複数のアニメーション */
+animation-delay: 2.1s, 480ms;
+</pre>
+
+<h3 id="Values" name="Values">値</h3>
+
+<dl>
+ <dt><code>{{cssxref("&lt;time&gt;")}}</code></dt>
+ <dd>アニメーションが要素に適用され、アニメーションが始まる瞬間からのオフセット時間。これは秒 (<code>s</code>) またはミリ秒 (<code>ms</code>) のどちらかで指定できます。単位は必須です。</dd>
+ <dd>正の数が指定された場合は、アニメーションが始まる経過時間を示します。 <code>0s</code> (既定値)の場合は、アニメーションは適用されたらすぐに始まります。</dd>
+ <dd>
+ <p>負の数が指定された場合は、アニメーションは直ちに始まりますが、アニメーション周期の途中からになります。例えば、 <code>-1s</code> を遅延時間に指定すると、アニメーションは直ちに始まりますが、アニメーションが始まって1秒の時点から始まります。アニメーションの遅延時間に負の値を指定しても、暗黙的に開始値が指定されている場合、開始値はアニメーションが要素に適用された瞬間から取得されます。</p>
+ </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>
+
+<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-delay', 'animation-delay')}}</td>
+ <td>{{Spec2('CSS3 Animations')}}</td>
+ <td>初回定義。</td>
+ </tr>
+ </tbody>
+</table>
+
+<p>{{cssinfo}}</p>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2>
+
+<p>{{Compat("css.properties.animation-delay")}}</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>