sass - How to apply a line of css to all browsers but IE? -


i don't want recreate file specific line of code, want ignore css line if in internet explorer. avoid putting inline css.

is possible?

.container {   height: 100px; // apply in chrome, firefox, safari, etc. } 

yes, can use conditional comment.

<!--[if !ie]>-->   <style>     .container {       height: 100px; /* in chrome, firefox, safari, etc */     }   </style> <!--<![endif]--> 

notice "not" operator ! apply browsers not ie. see this link more.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -