2017-02-08 4 views
1

テキストアニメーションがあり、ほとんどのブラウザで動作しますが、Internet Explorerに問題があります。助けてください。インターネットエクスプローラの影には問題があると思いますが、わかりません。それが要因である場合、私は、ワードプレスで動作する、と私はstyle.cssにより、テキストエディタとCSSでHTMLコードを置く:IEでのテキストトランジションのアニメーション効果の問題(私は理由はわかりません)HTML + CSS3

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> 
 
<style> 
 
#agentie-de-publicitate-full-service:target { 
 
display:none; 
 
} 
 
    @media and screen (max-width: 600px) { 
 
.sp-container h2 { 
 
display:none; 
 
font-size:2px !important;} 
 
.sp-container h2.frame-4 { 
 
font-size:2px !important; 
 
} 
 

 
} 
 
@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'); 
 
} 
 

 

 
.container1{ 
 
\t width: 100%; 
 
\t position: relative; 
 
\t overflow:visible; 
 
} 
 

 
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: 99999; 
 
\t background: -webkit-radial-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0.81)); 
 
\t background: -moz-radial-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0.81)); 
 
\t background: -ms-radial-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0.81)); 
 
\t background: radial-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.45) 35%, rgba(0, 0, 0, 0.81)); 
 
} 
 
.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: 6vw !important; 
 
\t height: 30px; 
 
\t margin-top: -50px; 
 
\t font-size: 5.3vw; 
 
\t width: 100%; 
 
\t text-align: center; 
 
\t color: transparent; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
    filter: alpha(opacity=0); 
 
    zoom: 1; 
 
    filter: alpha(opacity=0); 
 
\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: 100px; 
 
\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; 
 
    opacity: 100; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=100)”; 
 
    filter: alpha(opacity=100); 
 
    zoom: 1; 
 
    filter: alpha(opacity=100); 
 
\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; 
 
    opacity: 1; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=100)”; 
 
    filter: alpha(opacity=100); 
 
    zoom: 1; 
 
    filter: alpha(opacity=100); 
 
\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-keyframes blurFadeInOut{ 
 
\t 0%{ 
 
\t \t opacity: 0; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(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; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=100)”; 
 
     filter: alpha(opacity=100); 
 
     zoom: 1; 
 
     filter: alpha(opacity=100); 
 
\t \t text-shadow: 0px 0px 1px #fff; 
 
\t \t -webkit-transform: scale(1); 
 
\t } 
 
\t 100%{ 
 

 
\t \t opacity: 0; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(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; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(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; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=50)”; 
 
     filter: alpha(opacity=50); 
 
     zoom: 1; 
 
     filter: alpha(opacity=50); 
 
\t \t text-shadow: 0px 0px 10px #fff; 
 
\t \t -webkit-transform: scale(1.1); 
 
\t } 
 
\t 100%{ 
 
\t \t opacity: 1; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=100)”; 
 
     filter: alpha(opacity=100); 
 
     zoom: 1; 
 
     filter: alpha(opacity=100); 
 
\t \t text-shadow: 0px 0px 1px #fff; 
 
\t \t -webkit-transform: scale(1); 
 
\t } 
 
} 
 
@-webkit-keyframes fadeInBack{ 
 
\t 0%{ 
 
\t \t opacity: 0; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(opacity=0); 
 
\t \t -webkit-transform: scale(0); 
 
\t } 
 
\t 50%{ 
 
\t \t opacity: 0.4; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=40)”; 
 
     filter: alpha(opacity=40); 
 
     zoom: 1; 
 
     filter: alpha(opacity=40); 
 
\t \t -webkit-transform: scale(2); 
 
\t } 
 
\t 100%{ 
 
\t \t opacity: 0.2; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=20)”; 
 
     filter: alpha(opacity=20); 
 
     zoom: 1; 
 
     filter: alpha(opacity=20); 
 
\t \t -webkit-transform: scale(5); 
 
\t } 
 
} 
 
@-webkit-keyframes fadeInRotate{ 
 
\t 0%{ 
 
\t \t opacity: 0; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(opacity=0); 
 
\t \t -webkit-transform: scale(0) rotate(360deg); 
 
\t } 
 
\t 100%{ 
 
\t \t opacity: 1; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=100)”; 
 
     filter: alpha(opacity=100); 
 
     zoom: 1; 
 
\t \t -webkit-transform: scale(1) rotate(0deg); 
 
\t } 
 
} 
 
/**/ 
 
@-moz-keyframes blurFadeInOut{ 
 
\t 0%{ 
 
\t \t opacity: 0; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(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; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=100)”; 
 
     filter: alpha(opacity=100); 
 
     zoom: 1; 
 
     filter: alpha(opacity=100); 
 
\t \t text-shadow: 0px 0px 1px #fff; 
 
\t \t -moz-transform: scale(1); 
 
\t } 
 
\t 100%{ 
 
\t \t opacity: 0; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(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; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(opacity=0); 
 
\t \t text-shadow: 0px 0px 40px #fff; 
 
\t \t -moz-transform: scale(1.3); 
 
\t } 
 
\t 100%{ 
 
\t \t opacity: 1; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=100)”; 
 
     filter: alpha(opacity=100); 
 
     zoom: 1; 
 
     filter: alpha(opacity=100); 
 
\t \t text-shadow: 0px 0px 1px #fff; 
 
\t \t -moz-transform: scale(1); 
 
\t } 
 
} 
 
@-moz-keyframes fadeInBack{ 
 
\t 0%{ 
 
\t \t opacity: 0; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(opacity=0); 
 
\t \t -moz-transform: scale(0); 
 
\t } 
 
\t 50%{ 
 
\t \t opacity: 0.4; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=40)”; 
 
     filter: alpha(opacity=40); 
 
     zoom: 1; 
 
     filter: alpha(opacity=40); 
 
\t \t -moz-transform: scale(2); 
 
\t } 
 
\t 100%{ 
 
\t \t opacity: 0.2; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=20)”; 
 
     filter: alpha(opacity=20); 
 
     zoom: 1; 
 
     filter: alpha(opacity=20); 
 
\t \t -moz-transform: scale(5); 
 
\t } 
 
} 
 
@-moz-keyframes fadeInRotate{ 
 
\t 0%{ 
 
\t \t opacity: 0; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(opacity=0); 
 
\t \t -moz-transform: scale(0) rotate(360deg); 
 
\t } 
 
\t 100%{ 
 
\t \t opacity: 1; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=100)”; 
 
     filter: alpha(opacity=100); 
 
     zoom: 1; 
 
     filter: alpha(opacity=100); 
 
\t \t -moz-transform: scale(1) rotate(0deg); 
 
\t } 
 
} 
 
/**/ 
 
@keyframes blurFadeInOut{ 
 
\t 0%{ 
 
\t \t opacity: 0; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(opacity=0); 
 
\t \t text-shadow: 0px 0px 40px #fff; 
 
\t \t transform: scale(1.3); 
 
\t } 
 
\t 20%,75%{ 
 
\t \t opacity: 1; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=100)”; 
 
     filter: alpha(opacity=100); 
 
     zoom: 1; 
 
     filter: alpha(opacity=100); 
 
\t \t text-shadow: 0px 0px 1px #fff; 
 
\t \t transform: scale(1); 
 
\t } 
 
\t 100%{ 
 
\t \t opacity: 0; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(opacity=0); 
 
\t \t text-shadow: 0px 0px 50px #fff; 
 
\t \t transform: scale(0); 
 
\t } 
 
} 
 
@keyframes blurFadeIn{ 
 
\t 0%{ 
 
\t \t opacity: 0; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 

 
\t \t text-shadow: 0px 0px 40px #fff; 
 
\t \t transform: scale(1.3); 
 
\t } 
 
\t 50%{ 
 
\t \t opacity: 0.5; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=50)”; 
 
     filter: alpha(opacity=50); 
 
     zoom: 1; 
 
     filter: alpha(opacity=50); 
 

 
\t \t text-shadow: 0px 0px 10px #fff; 
 
\t \t transform: scale(1.1); 
 
\t } 
 
\t 100%{ 
 
\t \t opacity: 1; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=100)”; 
 
     filter: alpha(opacity=100); 
 
     zoom: 1; 
 
     filter: alpha(opacity=100); 
 
     zoom: 1; 
 

 
\t \t text-shadow: 0px 0px 1px #fff; 
 
\t \t transform: scale(1); 
 
\t } 
 
} 
 
@keyframes fadeInBack{ 
 
\t 0%{ 
 
\t \t opacity: 0; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 

 
\t \t transform: scale(0); 
 
\t } 
 
\t 50%{ 
 
\t \t opacity: 0.4; 
 
    -ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=40)”; 
 
     filter: alpha(opacity=40); 
 
     zoom: 1; 
 
     filter: alpha(opacity=40); 
 
     zoom: 1; 
 

 
\t \t transform: scale(2); 
 
\t } 
 
\t 100%{ 
 
\t \t opacity: 0.2; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=20)”; 
 
     filter: alpha(opacity=20); 
 
     zoom: 1; 
 
     filter: alpha(opacity=20); 
 

 
\t \t transform: scale(5); 
 
\t } 
 
} 
 
@keyframes fadeInRotate{ 
 
\t 0%{ 
 
\t \t opacity: 0; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=0)”; 
 
     filter: alpha(opacity=0); 
 
     zoom: 1; 
 
     filter: alpha(opacity=0); 
 

 
\t \t transform: scale(0) rotate(360deg); 
 
\t } 
 
\t 100%{ 
 
\t \t opacity: 1; 
 
-ms-filter:”progid:DXImageTransform.Microsoft.Alpha(Opacity=100)”; 
 
     filter: alpha(opacity=100); 
 
     zoom: 1; 
 
     filter: alpha(opacity=100); 
 

 
\t \t transform: scale(1) rotate(0deg); 
 
\t } 
 
} 
 

 
</style> 
 
<div id="agentie-de-publicitate-full-service" class="container1"> 
 
    <div class="header"> 
 
     <div class="clr"></div> 
 
    </div> 
 
    <div class="sp-container"> 
 
     <div class="sp-content"> 
 
      <div class="sp-globe"></div> 
 
      \t <h2 class="frame-1">Afacerea ta are nevoie de un progres?</h2> 
 

 
      \t <h2 class="frame-2">Vrei sa iți depășești concureța și nu știi cum? </h2> 
 

 
      \t <h2 class="frame-3">Hai să facem afacerea ta cunoscută !</h2> 
 

 
      \t <h2 class="frame-4">Acum !</h2> 
 

 
      \t <h2 class="frame-5"><span>ALL INCLUDED</span> <span>AGENȚIE DE PUBLICITATE </span> <span>FULL SERVICE</span></h2> 
 
\t <a class="sp-circle-link" href="#agentie-de-publicitate-full-service">Apasă !</a> 
 

 
     </div> 
 
    </div> 
 
</div>

答えて

1

@-*-keyframesであなたの-ms-filterルールが間違って引用符を持っています。それはであり、"でも'でもありません。それを通常に変更してみてください。

(ほとんどの場合、別の場所のテキストをコピーして貼り付けている場合が多く、引用符に間違った文字が含まれることがあります)。

+0

こんにちはJustinas、私の質問にお答えしてくれてありがとう、私は引用符を変更しますが、私は同じ問題があります。 https://jsfiddle.net/m6honjt5/2/ –

+0

こんにちはピストル、あなたのjsfiddleマッシュアップはIE11で見つけることができます。メディアクエリ(@Media)は、IE9以下、または同じIEエミュレーションモードでは機能しません。 –

+0

私の質問にお答えいただきありがとうございます、それはIE9またはすべてのIEバージョンのこのアニメーションを表示しない方法ですか? Javaコードか何か? –

関連する問題