1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

各ブラウザを判定してCSSを適用する方法

Posted at

ブラウザ毎にCSSのバグがあって、それらの対応方法を探していたら以下の記事が参考になりました。

ネタ元
https://www.kimagure-weblog.net/css/ie001/#IE

大きく問題になるのはIE10-11でしょうが。早く消えろって感じです。
以下がIE対応方法。メディアクエリと同様の書き方です。
ネタ元にはFireFox,Chrome,Safariへの方法も書いてあります。

@media all and (-ms-high-contrast: none){
  /*ここにCSSを書く*/
}
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?