IE9에서 작동하도록이 애니메이션을 가져 오는 데 문제가 있습니다. https://c9.io/aaronkahlhamer/notification-bar/workspace/index.htmlIE9에서 애니메이션 문제. jquery 대체가 필요합니다.
이 -ms-animation: slideDown 2.5s 1.0s 1 ease forwards;
은 IE9에서 작동하지 않습니다.
@-webkit-keyframes slideDown {
0%, 100% { -webkit-transform: translateY(-60px); }
10%, 90% { -webkit-transform: translateY(0px); }
}
@-moz-keyframes slideDown {
0%, 100% { -moz-transform: translateY(-60px); }
10%, 90% { -moz-transform: translateY(0px); }
}
@-o-keyframes slideDown {
0%, 100% { -o-transform: translateY(-60px); }
10%, 90% { -o-transform: translateY(0px); }
}
@-ms-keyframes slideDown {
0%, 100% { -ms-transform: translateY(-60px); }
10%, 90% { -ms-transform: translateY(0px); }
}
.notification {
-webkit-transform: translateY(-60px);
-webkit-animation: slideDown 2.5s 1.0s 1 ease forwards;
-moz-transform: translateY(-60px);
-moz-animation: slideDown 2.5s 1.0s 1 ease forwards;
-o-transform: translateY(-60px);
-o-animation: slideDown 2.5s 1.0s 1 ease forwards;
-ms-transform: translateY(-60px);
-ms-animation: slideDown 2.5s 1.0s 1 ease forwards;
position:absolute;
padding:7px 28px;
background: rgb(253,243,214);
font-size:14px;
color:#6B644E;
-webkit-border-radius: 2px;
-moz-border-radius: 2px;
border-radius: 2px;
margin:20px 0 0 50%;
text-align:center;
white-space:nowrap;
moz-box-shadow: 0px 0px 12px rgba(253,243,214,1.0);
-webkit-box-shadow: 0px 0px 12px rgba(253,243,214,1.0);
box-shadow: 0px 0px 12px rgba(253,243,214,1.0);
z-index:1;
}
.notification-draft-saved {left:-63px;}
.notification-draft-saved:after {content: "draft saved";}
CSS를 사용할 수없는 경우 폴백이 좋습니다. 어쩌면 jQuery?
당신이 우리를 대신해서 작업을 수행 할 것이라고 기대할 수는 없습니다. 당신은 특정한 질문이 있으면 물어보십시오. –
자유롭게 질문하고 자유롭게 답할 수 있습니까? 어쨌든이 알림을 사용해 주셔서 감사합니다. –
커뮤니티의 규칙을 적용해야합니다. 당신은 우리에게 노력을 보여줘야하고 실제로 뭔가를 시도해야합니다. 당신은 운이 좋은 사람이 실제로 그것을 대답 :) 보통 같은 질문에 깃발을 얻을. –