Задача: У меня возникли проблемы с таргетингом на FireFox и IE css.Как настроить FireFox CSS
Ниже то, что я делаю пытается предназначаться FF:
@-moz-document url-prefix(){
.centerSpinner{
top:300% !important;
}
}
Однако, он не толкать вертушку к центру:
В Chrome, погрузкой и блесны являются в центре страницы. Вот полный CSS:
\t #floatingCirclesG{
\t position:relative;
\t width:125px;
\t height:125px;
\t margin:auto;
\t transform:scale(0.6);
\t \t -o-transform:scale(0.6);
\t \t -ms-transform:scale(0.6);
\t \t -webkit-transform:scale(0.6);
\t \t -moz-transform:scale(0.6);
\t }
\t .f_circleG{
\t \t position:absolute;
\t \t background-color:rgb(255,255,255);
\t \t height:22px;
\t \t width:22px;
\t \t border-radius:12px;
\t \t \t -o-border-radius:12px;
\t \t \t -ms-border-radius:12px;
\t \t \t -webkit-border-radius:12px;
\t \t \t -moz-border-radius:12px;
\t \t animation-name:f_fadeG;
\t \t \t -o-animation-name:f_fadeG;
\t \t \t -ms-animation-name:f_fadeG;
\t \t \t -webkit-animation-name:f_fadeG;
\t \t \t -moz-animation-name:f_fadeG;
\t \t animation-duration:1.2s;
\t \t \t -o-animation-duration:1.2s;
\t \t \t -ms-animation-duration:1.2s;
\t \t \t -webkit-animation-duration:1.2s;
\t \t \t -moz-animation-duration:1.2s;
\t \t animation-iteration-count:infinite;
\t \t \t -o-animation-iteration-count:infinite;
\t \t \t -ms-animation-iteration-count:infinite;
\t \t \t -webkit-animation-iteration-count:infinite;
\t \t \t -moz-animation-iteration-count:infinite;
\t \t animation-direction:normal;
\t \t \t -o-animation-direction:normal;
\t \t \t -ms-animation-direction:normal;
\t \t \t -webkit-animation-direction:normal;
\t \t \t -moz-animation-direction:normal;
\t }
\t #frotateG_01{
\t \t left:0;
\t \t top:51px;
\t \t animation-delay:0.45s;
\t \t \t -o-animation-delay:0.45s;
\t \t \t -ms-animation-delay:0.45s;
\t \t \t -webkit-animation-delay:0.45s;
\t \t \t -moz-animation-delay:0.45s;
\t }
\t #frotateG_02{
\t \t left:15px;
\t \t top:15px;
\t \t animation-delay:0.6s;
\t \t \t -o-animation-delay:0.6s;
\t \t \t -ms-animation-delay:0.6s;
\t \t \t -webkit-animation-delay:0.6s;
\t \t \t -moz-animation-delay:0.6s;
\t }
\t #frotateG_03{
\t \t left:51px;
\t \t top:0;
\t \t animation-delay:0.75s;
\t \t \t -o-animation-delay:0.75s;
\t \t \t -ms-animation-delay:0.75s;
\t \t \t -webkit-animation-delay:0.75s;
\t \t \t -moz-animation-delay:0.75s;
\t }
\t #frotateG_04{
\t \t right:15px;
\t \t top:15px;
\t \t animation-delay:0.9s;
\t \t \t -o-animation-delay:0.9s;
\t \t \t -ms-animation-delay:0.9s;
\t \t \t -webkit-animation-delay:0.9s;
\t \t \t -moz-animation-delay:0.9s;
\t }
\t #frotateG_05{
\t \t right:0;
\t \t top:51px;
\t \t animation-delay:1.05s;
\t \t \t -o-animation-delay:1.05s;
\t \t \t -ms-animation-delay:1.05s;
\t \t \t -webkit-animation-delay:1.05s;
\t \t \t -moz-animation-delay:1.05s;
\t }
\t #frotateG_06{
\t \t right:15px;
\t \t bottom:15px;
\t \t animation-delay:1.2s;
\t \t \t -o-animation-delay:1.2s;
\t \t \t -ms-animation-delay:1.2s;
\t \t \t -webkit-animation-delay:1.2s;
\t \t \t -moz-animation-delay:1.2s;
\t }
\t #frotateG_07{
\t \t left:51px;
\t \t bottom:0;
\t \t animation-delay:1.35s;
\t \t \t -o-animation-delay:1.35s;
\t \t \t -ms-animation-delay:1.35s;
\t \t \t -webkit-animation-delay:1.35s;
\t \t \t -moz-animation-delay:1.35s;
\t }
\t #frotateG_08{
\t \t left:15px;
\t \t bottom:15px;
\t \t animation-delay:1.5s;
\t \t \t -o-animation-delay:1.5s;
\t \t \t -ms-animation-delay:1.5s;
\t \t \t -webkit-animation-delay:1.5s;
\t \t \t -moz-animation-delay:1.5s;
\t }
\t @keyframes f_fadeG{
\t \t 0%{
\t \t \t background-color:rgb(0,0,0);
\t \t }
\t \t 100%{
\t \t \t background-color:rgb(255,255,255);
\t \t }
\t }
\t @-o-keyframes f_fadeG{
\t \t 0%{
\t \t \t background-color:rgb(0,0,0);
\t \t }
\t \t 100%{
\t \t \t background-color:rgb(255,255,255);
\t \t }
\t }
\t @-ms-keyframes f_fadeG{
\t \t 0%{
\t \t \t background-color:rgb(0,0,0);
\t \t }
\t \t 100%{
\t \t \t background-color:rgb(255,255,255);
\t \t }
\t }
\t @-webkit-keyframes f_fadeG{
\t \t 0%{
\t \t \t background-color:rgb(0,0,0);
\t \t }
\t \t 100%{
\t \t \t background-color:rgb(255,255,255);
\t \t }
\t }
\t @-moz-keyframes f_fadeG{
\t \t 0%{
\t \t \t background-color:rgb(0,0,0);
\t \t }
\t \t 100%{
\t \t \t background-color:rgb(255,255,255);
\t \t }
\t }
\t
\t @-moz-document url-prefix(){
\t \t .centerSpinner{
\t \t \t top:300% !important;
\t \t }
\t }
\t
\t .background{
\t \t background-color: rgba(0,0,0,.6);
\t }
\t
\t .centerSpinner{
\t \t position:relative; top:35%;
\t }
\t
\t .loadCSS{text-align:center; top:100%; position:relative; font-size:37pt !important; right:15%;}
<body class="background">
\t \t <div class="centerSpinner" id="floatingCirclesG">
\t \t \t <div class="f_circleG" id="frotateG_01"></div>
\t \t \t <div class="f_circleG" id="frotateG_02"></div>
\t \t \t <div class="f_circleG" id="frotateG_03"></div>
\t \t \t <div class="f_circleG" id="frotateG_04"></div>
\t \t \t <div class="f_circleG" id="frotateG_05"></div>
\t \t \t <div class="f_circleG" id="frotateG_06"></div>
\t \t \t <div class="f_circleG" id="frotateG_07"></div>
\t \t \t <div class="f_circleG" id="frotateG_08"></div>
\t \t \t <div class="loadCSS">Loading...</div>
\t \t </div>
</body>
Они понижают префикс, когда это их стандарт. – PHPglue
@PHPglue, как бы я нацелился на все FF? –
Ваша цель работает нормально, цвет теста: красный; например. если вы используете более тяжелый селектор, тогда он должен работать лучше: #floatingCirclesG, и, наконец, верх: 35vh будет делать ....чтобы узнать, что tat должен работать для большей части браузера, и фильтрация FF становится ненужной;) http://codepen.io/anon/pen/MJqJLP –