クロムが良かったら幸いですが、現実的にはまだFirefoxほど良くはありません。チェックボックスの輪郭がクロムに表示されない
.blue {
outline: thin dotted yellow;
outline-offset: -2px
}
<input class="blue" type="checkbox">
私は何かが足りないのですか?
クロムが良かったら幸いですが、現実的にはまだFirefoxほど良くはありません。チェックボックスの輪郭がクロムに表示されない
.blue {
outline: thin dotted yellow;
outline-offset: -2px
}
<input class="blue" type="checkbox">
私は何かが足りないのですか?
あなたは間違ったプロパティ順、正しいものは持っている:
.blue {
outline: yellow dotted thin;
outline-offset: -2px
}
あなたはあなたのせいで何かのためにChromeを責めるべきではありませんが...
あなたはIEで動作し、このハックを使用することができますし、クロムでは、実際にはないと考えています。checkbox
にはコンテンツがないため、::before
を持つことはできません。それは何
.page input[type=checkbox].form-input-error:not([disabled])::before {
content: ' ';
background: transparent;
border: 3px solid crimson;
display: inline-block;
width: 100%;
height: 100%;
padding: 0;
margin: -3px -3px;
}
:
.form-input-error
私は夢を見ました。みんなChromeを使っていた夢。 –