is-ie/not-ie

@include is-ie() { /* ... */ };

/* Or conversely */

@include is-not-ie() { /* ... */ };

Description

This one is pretty self-explanatory: IE is garbage but sometimes you gotta do whatcha' gotta do.

Return

(CSS) Styles scoped to when browser is/is not Internet Explorer.

Examples

Add specific styling to an element when the browser is not IE

.foo {
  /* Do something boring */

	@include is-not-ie() {
    /* Do something amaaazingggg 🤯💥🎉 */
  }
}