私はIE上で動作するいくつかの擬似要素を取得しようとしてきましたが、それだけで私をさせません。IEは擬似要素CSSを超えていますか?
これはCSSを横切っていて、そこにないように動作します。これは私を少しばかげさせるものです。
私が間違っていることは誰にも分かりますか?
.newbutton {
border-radius: 50%;
width: 74px;
height: 74px;
position: relative;
background-color: black;
margin: 60px 0px 25px 17px;
overflow: visible;
}
.newbutton:before {
content: "f";
width: 80px;
height: 80px;
position: absolute;
border-radius: 50%;
z-index: -1;
top: 37px;
left: 37px;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
-webkit-animation-name: fadecolor;
-webkit-animation-duration: 5s;
-webkit-animation-iteration-count: infinite;
animation-name: fadecolor;
animation-duration: 5s;
animation-iteration-count: infinite;
}
.newbutton:after {
content: "";
width: 80px;
height: 80px;
position: absolute;
border-radius: 50%;
z-index: -2;
top: -3px;
left: -3px;
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#01BAE8), to(#0183D5));
}
<div class="starttour">
<div class="newbutton headerbutton">
<span class="iconhead icon-02-arrow-icon"></span>
</div>
<p>START TOUR</p>
</div>
何が起こるかのスクリーンショット:
うまくいけば、 '-webkit-'ビットを使い切ることはありません。 – BoltClock
Pfff、それについて教えてください。それは私の目的を私を動かしている、私は賭けた。愚かなIE。 – Kairowa
とにかく、どのバージョンのIEをテストしていますか?また、ドキュメントモード/ブラウザモードについては何を教えてくれますか?私はIEがこのような行動を取る理由を本当に理解したことはありませんが、うまくいけばこれらのことがいくつかの手がかりを提供します。 – BoltClock