adikahorvath
1/11/2014 - 12:50 PM

conditional comments

conditional comments

<!--[if IEMobile 7 ]> <html class="ie-mobile"> <![endif]--> 
<!--[if lte IE 7]>    <html class="ie7">       <![endif]-->  
<!--[if IE 8]>        <html class="ie8">       <![endif]-->  
<!--[if IE 9]>        <html class="ie9">       <![endif]-->  
<!--[if !IE]><!-->    <html>                   <!--<![endif]-->  

<!-- IE 10+ drop conditional comments so -->
<script>  
  if (/*@cc_on!@*/false) {  
    document.documentElement.className+=' ie10';  
  }  
</script>