From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/ja/web/css/animation-name/index.html | 93 ++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 files/ja/web/css/animation-name/index.html (limited to 'files/ja/web/css/animation-name') diff --git a/files/ja/web/css/animation-name/index.html b/files/ja/web/css/animation-name/index.html new file mode 100644 index 0000000000..885cba4529 --- /dev/null +++ b/files/ja/web/css/animation-name/index.html @@ -0,0 +1,93 @@ +--- +title: animation-name +slug: Web/CSS/animation-name +tags: + - CSS + - CSS アニメーション + - CSS プロパティ + - Reference +translation_of: Web/CSS/animation-name +--- +
{{CSSRef}}
+ +

CSSanimation-name プロパティは、要素に適用される1つまたは複数のアニメーションを設定します。それぞれの名前はアニメーションシーケンスのプロパティ値を定義する {{cssxref("@keyframes")}} @-規則を設定します。

+ +
{{EmbedInteractiveExample("pages/css/animation-name.html")}}
+ + + +

アニメーションのプロパティすべてを一度に設定するには、一括指定プロパティである {{cssxref("animation")}} プロパティを使用すると便利です。

+ +

構文

+ +
/* 単一のアニメーション */
+animation-name: none;
+animation-name: test_05;
+animation-name: -specific;
+animation-name: sliding-vertically;
+
+/* 複数のアニメーション */
+animation-name: test1, animation4;
+animation-name: none, -moz-specific, sliding;
+
+/* グローバル値 */
+animation-name: initial
+animation-name: inherit
+animation-name: unset
+ +

+ +
+
none
+
キーフレームがないことを示す特別なキーワード。他の識別子の順序を変更せずにアニメーションを非アクティブにする、またはカスケードからのアニメーションを非アクティブにするために使用できます。
+
{{cssxref("<custom-ident>")}}
+
アニメーションを識別する名前です。識別子は大文字小文字の区別がない英文字 a から z、 数字 0 から 9、 アンダースコア (_)、 ダッシュ (-) から成ります。最初のダッシュ以外の文字は英文字でなければなりません。また、二重ダッシュは識別子の先頭では禁止されています。さらに、識別子は none, unset, initial, inherit であってはなりません。
+
+ +
+

メモ: animation-* プロパティにコンマ区切りで複数の値を指定した場合、 {{cssxref("animation-name")}} プロパティで指定したアニメーションに割り当てられますが、いくつあるかによって異なる方法で割り当てられます。詳しくは、複数のアニメーションプロパティ値の設定を参照してください。

+
+ +

形式文法

+ +
{{csssyntax}}
+ +

+ +

CSS アニメーションを参照してください。

+ +

仕様書

+ + + + + + + + + + + + + + + + +
仕様書状態備考
{{SpecName('CSS3 Animations', '#animation-name', 'animation-name')}}{{Spec2('CSS3 Animations')}}初回定義
+ +

{{cssinfo}}

+ +

ブラウザーの対応

+ +
+ + +

{{Compat("css.properties.animation-name")}}

+
+ +

関連情報

+ + -- cgit v1.2.3-54-g00ecf