0
나는 무엇을 시도해야할지 모르겠습니다. CSS 유효성 검사기를 통과 시켜도 통과합니다. Chrome 및 Firefox에서 작동합니다. Safari는 내가 알 수있는 경고 나 오류가 없음을 보여줍니다.이 애니메이션이 Safari (iOS 포함)에서 작동하지 않는 이유는 무엇입니까?
관련 CSS :
.lines {
width: 32px;
margin: 20px auto;
}
.line-bar {
display: inline-block;
background-color: #f7f7f7;
width: 4px;
height: 18px;
border-radius: 4px;
-webkit-animation: loading 1s ease-in-out infinite;
animation: loading 1s ease-in-out infinite;
}
.line-bar:nth-child(1) {
}
.line-bar:nth-child(2) {
-webkit-animation-delay: 0.09s;
animation-delay: 0.09s;
}
.line-bar:nth-child(3) {
-webkit-animation-delay: 0.18s;
animation-delay: 0.18s;
}
.line-bar:nth-child(4) {
-webkit-animation-delay: 0.27s;
animation-delay: 0.27s;
}
@-webkit-keyframes loading {
0% {
transform: scale(1);
}
20% {
transform: scale(1, 2.2);
}
40% {
transform: scale(1);
}
}
@keyframes loading {
0% {
transform: scale(1);
}
20% {
transform: scale(1, 2.2);
}
40% {
transform: scale(1);
}
}
다음은 업데이트 된 jsbin입니다. http://jsbin.com/jibuhirisi/1/edit?html,output – bostero2
감사합니다. –