Ich habe Probleme, die :checked
Styling für meine benutzerdefinierten Kontrollkästchen in Internet Explorer anzuzeigen.Internet Explorer 'Eingabe: Geprüft + Label: vor' Styling wird nicht gerendert
Sie funktionieren perfekt in Chrome.
... aber in IE
Hier ist der relevante Styling
input[type="radio"], input[type="checkbox"] {
opacity: 1;
position: absolute;
top: -9999;
& + label {
vertical-align: middle;
}
}
input[type="radio"] + label:before,
input[type="checkbox"] + label:before {
content: '\f3fd';
font-family: 'Ionicons';
width: 26px;
height: 20px;
border: 2px solid #45555F;
font-size: 24px;
color: transparent;
display: table-cell;
text-align: center;
transition: all 0.3s linear;
-webkit-transition: all 0.3s linear;
-moz-transition: all 0.3s linear;
-ms-transition: all 0.3s linear;
-o-transition: all 0.3s linear;
padding: 0 2px;
}
input[type="radio"]:checked + label:before,
input[type="checkbox"]:checked + label:before {
content: '\f383';
font-family: 'Ionicons';
font-size: 24px;
width: 26px;
height: 20px;
text-align: center;
display: table-cell;
padding: 0 2px;
border: 2px solid #45555F;
color: #8ec549;
}
input[type="radio"] + label:before {
border-radius: 50% !important;
}
ich auch nicht bemerkt, dass der Internet Explorer nur das Styling auf Last entfernt ..
Danke für jede Hilfe!
EDIT: Codepen Demo (Diese Demo funktioniert auch nicht in IE)
http://codepen.io/anon/pen/rLJqyK
Was ist die IE-Version? –
Die Bilder in der Frage sind IE11, aber das Problem tritt auch auf IE10 auf! – connorb
Am besten erstellen Sie ein lauffähiges HTML-Snippet, in dem wir das Problem untersuchen können –