助けてくださいどのようにこのアニメーションを永遠に繰り返しますか
私は永遠にこのアニメーションを繰り返すことができますか?
@font-face {
font-family: 'Electrolize';
font-style: normal;
font-weight: 400;
src: local('Electrolize'), local('Electrolize-Regular'), url(http://themes.googleusercontent.com/static/fonts/electrolize/v2/DDy9sgU2U7S4xAwH5thnJ4bN6UDyHWBl620a-IRfuBk.woff) format('woff');
}
body {
\t background: #310404 url(http://web-sonick.zz.mu/images/sl/red_texture.jpg) repeat top left;
\t font-family: 'Electrolize';
}
.container{
\t width: 100%;
\t position: relative;
\t overflow:hidden;
}
a {
text-decoration:none;
}
h1.main,p.demos {
\t -webkit-animation-delay: 18s;
\t -moz-animation-delay: 18s;
\t -ms-animation-delay: 18s;
\t animation-delay: 18s;
}
.sp-container {
\t position: fixed;
\t top: 0px;
\t left: 0px;
\t width: 100%;
\t height: 100%;
\t z-index: 0;
\t background: -webkit-radial-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0.7));
\t background: -moz-radial-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0.7));
\t background: -ms-radial-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0.7));
\t background: radial-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0.7));
}
.sp-content {
\t position: absolute;
\t width: 100%;
\t height: 100%;
\t left: 0px;
\t top: 0px;
\t z-index: 1000;
}
.sp-container h2 {
\t position: absolute;
\t top: 50%;
\t line-height: 100px;
\t height: 90px;
\t margin-top: -50px;
\t font-size: 90px;
\t width: 100%;
\t text-align: center;
\t color: transparent;
\t -webkit-animation: blurFadeInOut 3s ease-in backwards;
\t -moz-animation: blurFadeInOut 3s ease-in backwards;
\t -ms-animation: blurFadeInOut 3s ease-in backwards;
\t animation: blurFadeInOut 3s ease-in backwards;
}
.sp-container h2.frame-1 {
\t -webkit-animation-delay: 0s;
\t -moz-animation-delay: 0s;
\t -ms-animation-delay: 0s;
\t animation-delay: 0s;
}
.sp-container h2.frame-2 {
\t -webkit-animation-delay: 3s;
\t -moz-animation-delay: 3s;
\t -ms-animation-delay: 3s;
\t animation-delay: 3s;
}
.sp-container h2.frame-3 {
\t -webkit-animation-delay: 6s;
\t -moz-animation-delay: 6s;
\t -ms-animation-delay: 6s;
\t animation-delay: 6s;
}
.sp-container h2.frame-4 {
\t font-size: 200px;
\t -webkit-animation-delay: 9s;
\t -moz-animation-delay: 9s;
\t -ms-animation-delay: 9s;
\t animation-delay: 9s;
}
.sp-container h2.frame-5 {
\t -webkit-animation: none;
\t -moz-animation: none;
\t -ms-animation: none;
\t animation: none;
\t color: transparent;
\t text-shadow: 0px 0px 1px #fff;
}
.sp-container h2.frame-5 span {
\t -webkit-animation: blurFadeIn 3s ease-in 12s backwards;
\t -moz-animation: blurFadeIn 1s ease-in 12s backwards;
\t -ms-animation: blurFadeIn 3s ease-in 12s backwards;
\t animation: blurFadeIn 3s ease-in 12s backwards;
\t color: transparent;
\t text-shadow: 0px 0px 1px #fff;
}
.sp-container h2.frame-5 span:nth-child(2) {
\t -webkit-animation-delay: 13s;
\t -moz-animation-delay: 13s;
\t -ms-animation-delay: 13s;
\t animation-delay: 13s;
}
.sp-container h2.frame-5 span:nth-child(3) {
\t -webkit-animation-delay: 14s;
\t -moz-animation-delay: 14s;
\t -ms-animation-delay: 14s;
\t animation-delay: 14s;
}
.sp-globe {
\t position: absolute;
\t width: 282px;
\t height: 273px;
\t left: 50%;
\t top: 50%;
\t margin: -137px 0 0 -141px;
\t background: transparent url(http://web-sonick.zz.mu/images/sl/globe.png) no-repeat top left;
\t -webkit-animation: fadeInBack 3.6s linear 14s backwards;
\t -moz-animation: fadeInBack 3.6s linear 14s backwards;
\t -ms-animation: fadeInBack 3.6s linear 14s backwards;
\t animation: fadeInBack 3.6s linear 14s backwards;
\t -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
\t filter: alpha(opacity=30);
\t opacity: 0.3;
\t -webkit-transform: scale(5);
\t -moz-transform: scale(5);
\t -o-transform: scale(5);
\t -ms-transform: scale(5);
\t transform: scale(5);
}
.sp-circle-link {
\t position: absolute;
\t left: 50%;
\t bottom: 100px;
\t margin-left: -50px;
\t text-align: center;
\t line-height: 100px;
\t width: 100px;
\t height: 100px;
\t background: #fff;
\t color: #3f1616;
\t font-size: 25px;
\t -webkit-border-radius: 50%;
\t -moz-border-radius: 50%;
\t border-radius: 50%;
\t -webkit-animation: fadeInRotate 1s linear 16s backwards;
\t -moz-animation: fadeInRotate 1s linear 16s backwards;
\t -ms-animation: fadeInRotate 1s linear 16s backwards;
\t animation: fadeInRotate 1s linear 16s backwards;
\t -webkit-transform: scale(1) rotate(0deg);
\t -moz-transform: scale(1) rotate(0deg);
\t -o-transform: scale(1) rotate(0deg);
\t -ms-transform: scale(1) rotate(0deg);
\t transform: scale(1) rotate(0deg);
}
.sp-circle-link:hover {
\t background: #85373b;
\t color: #fff;
}
/**/
@-webkit- 3keyframes blurFadeInOut{
\t 0%{
\t \t opacity: 0;
\t \t text-shadow: 0px 0px 40px #fff;
\t \t -webkit-transform: scale(1.3);
\t }
\t 20%,75%{
\t \t opacity: 1;
\t \t text-shadow: 0px 0px 1px #fff;
\t \t -webkit-transform: scale(1);
\t }
\t 100%{
\t \t opacity: 0;
\t \t text-shadow: 0px 0px 50px #fff;
\t \t -webkit-transform: scale(0);
\t }
}
@-webkit-keyframes blurFadeIn{
\t 0%{
\t \t opacity: 0;
\t \t text-shadow: 0px 0px 40px #fff;
\t \t -webkit-transform: scale(1.3);
\t }
\t 50%{
\t \t opacity: 0.5;
\t \t text-shadow: 0px 0px 10px #fff;
\t \t -webkit-transform: scale(1.1);
\t }
\t 100%{
\t \t opacity: 1;
\t \t text-shadow: 0px 0px 1px #fff;
\t \t -webkit-transform: scale(1);
\t }
}
@-webkit-keyframes fadeInBack{
\t 0%{
\t \t opacity: 0;
\t \t -webkit-transform: scale(0);
\t }
\t 50%{
\t \t opacity: 0.4;
\t \t -webkit-transform: scale(2);
\t }
\t 100%{
\t \t opacity: 0.2;
\t \t -webkit-transform: scale(5);
\t }
}
@-webkit-keyframes fadeInRotate{
\t 0%{
\t \t opacity: 0;
\t \t -webkit-transform: scale(0) rotate(360deg);
\t }
\t 100%{
\t \t opacity: 1;
\t \t -webkit-transform: scale(1) rotate(0deg);
\t }
}
/**/
@-moz-keyframes blurFadeInOut{
\t 0%{
\t \t opacity: 0;
\t \t text-shadow: 0px 0px 40px #fff;
\t \t -moz-transform: scale(1.3);
\t }
\t 20%,75%{
\t \t opacity: 1;
\t \t text-shadow: 0px 0px 1px #fff;
\t \t -moz-transform: scale(1);
\t }
\t 100%{
\t \t opacity: 0;
\t \t text-shadow: 0px 0px 50px #fff;
\t \t -moz-transform: scale(0);
\t }
}
@-moz-keyframes blurFadeIn{
\t 0%{
\t \t opacity: 0;
\t \t text-shadow: 0px 0px 40px #fff;
\t \t -moz-transform: scale(1.3);
\t }
\t 100%{
\t \t opacity: 1;
\t \t text-shadow: 0px 0px 1px #fff;
\t \t -moz-transform: scale(1);
\t }
}
@-moz-keyframes fadeInBack{
\t 0%{
\t \t opacity: 0;
\t \t -moz-transform: scale(0);
\t }
\t 50%{
\t \t opacity: 0.4;
\t \t -moz-transform: scale(2);
\t }
\t 100%{
\t \t opacity: 0.2;
\t \t -moz-transform: scale(5);
\t }
}
@-moz-keyframes fadeInRotate{
\t 0%{
\t \t opacity: 0;
\t \t -moz-transform: scale(0) rotate(360deg);
\t }
\t 100%{
\t \t opacity: 1;
\t \t -moz-transform: scale(1) rotate(0deg);
\t }
}
/**/
@keyframes blurFadeInOut{
\t 0%{
\t \t opacity: 0;
\t \t text-shadow: 0px 0px 40px #fff;
\t \t transform: scale(1.3);
\t }
\t 20%,75%{
\t \t opacity: 1;
\t \t text-shadow: 0px 0px 1px #fff;
\t \t transform: scale(1);
\t }
\t 100%{
\t \t opacity: 0;
\t \t text-shadow: 0px 0px 50px #fff;
\t \t transform: scale(0);
\t }
}
@keyframes blurFadeIn{
\t 0%{
\t \t opacity: 0;
\t \t text-shadow: 0px 0px 40px #fff;
\t \t transform: scale(1.3);
\t }
\t 50%{
\t \t opacity: 0.5;
\t \t text-shadow: 0px 0px 10px #fff;
\t \t transform: scale(1.1);
\t }
\t 100%{
\t \t opacity: 1;
\t \t text-shadow: 0px 0px 1px #fff;
\t \t transform: scale(1);
\t }
}
@keyframes fadeInBack{
\t 0%{
\t \t opacity: 0;
\t \t transform: scale(0);
\t }
\t 50%{
\t \t opacity: 0.4;
\t \t transform: scale(2);
\t }
\t 100%{
\t \t opacity: 0.2;
\t \t transform: scale(5);
\t }
}
@keyframes fadeInRotate{
\t 0%{
\t \t opacity: 0;
\t \t transform: scale(0) rotate(360deg);
\t }
\t 100%{
\t \t opacity: 1;
\t \t transform: scale(1) rotate(0deg);
\t }
}
<div class="container">
<div class="header">
<div class="clr"></div>
</div>
<div class="sp-container">
<div class="sp-content">
<div class="sp-globe"></div>
<h2 class="frame-1">It's destroying the planet</h2>
<h2 class="frame-2">It's mass, mechanized murder</h2>
<h2 class="frame-3">You can stop it</h2>
<h2 class="frame-4">Now!</h2>
<h2 class="frame-5"><span>Save the planet.</span> <span>Love life.</span> <span>Go vegan.</span></h2>
<a class="sp-circle-link" href="#">Join us!</a>
</div>
</div>
http://codepen.io/Sonick/pen/HthaI
おかげ
何のアニメーションコードの例を基本にリンク?質問に関連するすべてのコードを含めてください。 – JJJ
はいいえいいえ:)私の最終的なコード –
を達成したいかを説明するためにあなたのCSSを追加してください。これは、スタックオーバーフローの仕組みではありません。これがdownvotedか何かが、私はあなたのアイデアを与えた可能性があります。あなたがそれを掘り下げるのはあなた次第です。私はシーケンシングをたくさん持っているアニメーションを作成していた場合 – iSaeed