animation

英[??n??me??n] 美[??n??me??n]

n. 怒っている、活発、漫畫(huà)制作、漫畫(huà)撮影、[映畫(huà)とテレビ] アニメーション

複數(shù)形: animes

iteration

## English[??t??re??n] US[??t??re??n]

n. 繰り返す; 言い直す; 物事を言い直す; [コンピューター] ] サイクル

#count

UK[ka?nt] US[ka?nt]

n.合計(jì)數(shù); カウント; カウント; 引數(shù)

v. 數(shù)える; 合計(jì)を計(jì)算する; count...; 重要

三人稱単數(shù)形: counts 複數(shù)形: counts 現(xiàn)在分詞: counting 過(guò)去形: counted 過(guò)去分詞: counted

css animation-iteration-count屬性 構(gòu)文

animation-iteration-count 屬性を使用するにはどうすればよいですか?

animation-iteration-count 屬性は、アニメーションの再生回?cái)?shù)を定義するために使用されます。animation-iteration-count 屬性の値を無(wú)限に設(shè)定すると、アニメーションの無(wú)限ループ再生が可能になります。

関數(shù): animation-iteration-count 屬性は、アニメーションの再生回?cái)?shù)を定義します。

構(gòu)文: animation-iteration-count: n|infinite;

説明: n アニメーションの再生回?cái)?shù)を定義します。無(wú)限は、アニメーションを無(wú)限に再生することを指定します。

注: Internet Explorer 9 以前のバージョンでは、animation-iteration-count プロパティがサポートされていません。

css animation-iteration-count屬性 例

<!DOCTYPE html>
<html>
<head>
<style> 
div
{
width:100px;
height:100px;
background:red;
position:relative;
animation:mymove 3s;
animation-iteration-count:3;

/* Safari and Chrome */
-webkit-animation:mymove 3s;
-webkit-animation-iteration-count:3;
}

@keyframes mymove
{
from {top:0px;}
to {top:200px;}
}

@-webkit-keyframes mymove /* Safari and Chrome */
{
from {top:0px;}
to {top:200px;}
}
</style>
</head>
<body>

<p><strong>注釋:</strong>Internet Explorer 9 以及更早的版本不支持 animation-iteration-count 屬性。</p>

<div></div>

</body>
</html>

インスタンスの実行 ?

[インスタンスの実行] ボタンをクリックしてオンライン インスタンスを表示します