Skip to content

Commit 5a62733

Browse files
author
Dirk Ginader
committed
Adding support for IE10 thanks to Estelle Weyl
Currently not confirmed to work
1 parent 811fc23 commit 5a62733

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@
104104
body #ie9:nth-of-type(1n){ /* CSS3 Selector that is interpreted by many modern Browsers including IE()*/
105105
display:block \9; /* Hack to specify Internet Explorers including 9 so we exclude FF, webkit, etc */
106106
}
107+
108+
/* IE 10 */
109+
@media screen and (-ms-transform-3d) {
110+
#ie10{
111+
display:block
112+
}
113+
}
107114

108115
/* Webkit (Safari and Chrome) */
109116
@media screen and (-webkit-min-device-pixel-ratio:0) {
@@ -141,6 +148,7 @@
141148
<p id="ie6andie7andie8andie9">IE6, IE 7, IE 8 and IE 9</p>
142149
<p id="ie8">IE8</p>
143150
<p id="ie9">IE9+</p>
151+
<p id="ie10">IE10</p>
144152
<pre>
145153
check the code to see how the CSS Hacks work or <a href="http://blog.ginader.de/archives/2009/02/01/CSS-Voodoo-The-dark-art-of-CSS-Hacks.php">Read more about the CSS Hacks used in this Demo here</a>
146154
</pre>

readme.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Version 1.5.1
1919
* 7
2020
* 8
2121
* 9
22+
* 10
2223
* Webkit (Safari and Chrome)
2324
* Opera
2425

0 commit comments

Comments
 (0)