Skip to content

Instantly share code, notes, and snippets.

@RyoSugimoto
Created September 1, 2014 05:07
Show Gist options
  • Save RyoSugimoto/0a677209a8c04bc8ed7f to your computer and use it in GitHub Desktop.
Save RyoSugimoto/0a677209a8c04bc8ed7f to your computer and use it in GitHub Desktop.
IEの条件付きコメント。
<!-- # 指定のバージョン -->
<!--[if IE 6.0]>
<![endif]-->
<!--[if IE 7.0]>
<![endif]-->
<!--[if IE 8.0]>
<![endif]-->
<!--[if IE 9.0]>
<![endif]-->
<!-- # 指定のバージョン以上 -->
<!--[if gte IE 6.0]>
<![endif]-->
<!--[if gte IE 7.0]>
<![endif]-->
<!--[if gte IE 8.0]>
<![endif]-->
<!--[if gte IE 9.0]>
<![endif]-->
<!-- # 指定のバージョン以下 -->
<!--[if lte IE 6.0]>
<![endif]-->
<!--[if lte IE 7.0]>
<![endif]-->
<!--[if lte IE 8.0]>
<![endif]-->
<!--[if lte IE 9.0]>
<![endif]-->
<!-- # 指定のバージョン未満 -->
<!--[if lt IE 7.0]>
<![endif]-->
<!--[if lt IE 8.0]>
<![endif]-->
<!--[if lt IE 9.0]>
<![endif]-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment