write css for not for ie code example
Example 1: styles only for IE
@media all and (-ms-high-contrast:none)
{
.foo { color: green } /* IE10 */
*::-ms-backdrop, .foo { color: red } /* IE11 */
}
Example 2: css ie11 only
/* styles only for IE */
@media all and (-ms-high-contrast:none)
{
}