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
Post a Comment