IE11
1 2 3 4 5 |
@media all and (-ms-high-contrast:none){ *::-ms-backdrop, .selector { background: #ccc } } |
Firefox
1 2 3 4 5 |
@-moz-document url-prefix() { .selector { background: #ccc } } |
Google Chrome
1 2 3 4 5 |
@media screen and (-webkit-min-device-pixel-ratio:0) { .selector { background: #ccc } } |
コメント