公式サイトはこちら

/* btnAnime03 */

.btnAnime03 {
background: rgba(0, 0, 0, 0) url(“../img/btn_anime01.png”) no-repeat scroll left top / 100% auto;
margin: 0 auto;
width: 100%;
animation-duration: 4s;
animation-iteration-count: infinite;
animation-name: button;
animation-timing-function: ease;
transform: scale(1);
transform-origin: center bottom 0;
}
.btnAnime03-start {
animation-duration: 3.5s;
animation-iteration-count: infinite;
animation-name: start;
animation-timing-function: ease;
display: block;
height: auto;
left: 0;
top: 0;
width: 100%;
}

@keyframes start {
0%, 100%, 20%, 8% {opacity: 1;transform: scale(1);}
12% {opacity: 1;transform: scale(1.2);}
16% {opacity: 1;transform: scale(0.9);}
}

@keyframes button {
28%, 48% {transform: skew(0deg);}
32% {transform: skew(10deg);}
36% {transform: skew(-10deg);}
40% {transform: skew(5deg);}
44% {transform: skew(-5deg);}
}

コメントを残す