「テンプレート:テスト2/style.css」の版間の差分

提供:WikiWiki
ナビゲーションに移動 検索に移動
編集の要約なし
編集の要約なし
1行目: 1行目:
@keyframes color-changing{
.gradation {
  animation: grad .1s ease-in-out infinite alternate;
}
@keyframes grad{
0%{
0%{
color:#ff0000;
background:linear-gradient(90deg, blue 0%, pink)
}
}
10%{
10%{
color:#007fff;
background:linear-gradient(90deg, blue 10%, pink)
}
}
20%{
20%{
color:#ff00ff;
background:linear-gradient(90deg, blue 20%, pink)
}
}
30%{
30%{
color:#00ff00;
background:linear-gradient(90deg, blue 30%, pink)
}
}
40%{
40%{
color:#ff007f;
background:linear-gradient(90deg, blue 40%, pink)
}
}
50%{
50%{
color:#7f00ff;
background:linear-gradient(90deg, blue 50%, pink)
}
}
60%{
60%{
color:#ff7f00;
background:linear-gradient(90deg, blue 60%, pink)
}
}
70%{
70%{
color:#ff007f;
background:linear-gradient(90deg, blue 70%, pink)
}
}
80%{
80%{
color:#0000ff;
background:linear-gradient(90deg, blue 80%, pink)
}
}
90%{
90%{
color:#7fff00;
background:linear-gradient(90deg, blue 90%, pink)
}
}
100%{
100%{
color:#00ff7f;
background:linear-gradient(90deg, blue 100%, pink)
}
}
}
.animation-box{
font-size:8vw;
animation-name:color-changing;
animation-duration:4s;
animation-iteration-count:100000000;
}
}

2年3月30日 (ヰ) 19:29時点における版

.gradation {
  animation: grad .1s ease-in-out infinite alternate;
}
@keyframes grad{
	0%{
		background:linear-gradient(90deg, blue 0%, pink)
	}
	10%{
		background:linear-gradient(90deg, blue 10%, pink)
	}
	20%{
		background:linear-gradient(90deg, blue 20%, pink)
	}
	30%{
		background:linear-gradient(90deg, blue 30%, pink)
	}
	40%{
		background:linear-gradient(90deg, blue 40%, pink)
	}
	50%{
		background:linear-gradient(90deg, blue 50%, pink)
	}
	60%{
		background:linear-gradient(90deg, blue 60%, pink)
	}
	70%{
		background:linear-gradient(90deg, blue 70%, pink)
	}
	80%{
		background:linear-gradient(90deg, blue 80%, pink)
	}
	90%{
		background:linear-gradient(90deg, blue 90%, pink)
	}
	100%{
		background:linear-gradient(90deg, blue 100%, pink)
	}
}