Conditional CSS: Targeting IE new versions

Targeting IE new versions such us IE10 & IE11 and Edge browsers with CSS is possible, but not the ol’ fashioned way because Microsoft deprecated the conditional commenting (if IE) we used in older versions.

So where’s the black magic? Here:

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
   /* IE10+ specific styles go here */  

Thanks Doyel for sharing!

PS: Heads up! SCSS/LESS/CSS compatible.



Don’t Stop Here

More To Explore

Mi Historia en GM2

Zarco inició en mayo de 2015 a través de una pasantía sin saber nada de lo que es el software development y ahora es uno

Read More »