Appearance

Utilities for suppressing browser-specific styling on an element.

In this article

Class Properties
.appearance-none appearance: none;

Usage

Use .appearance-none to reset any browser-specific styling on an element.

Variants

By default, no responsive or hover-state variants are generated for appearance utilities.

Responsive

To include responsive variants like .md:appearance-none, add "appearance" to the $responsive-variants variable in your theme’s _variables.scss file when recompiling your CSS:

$responsive-variants: (
  // ...
  "appearance",
);

Hover-state

To include hover-state variants like .hover:appearance-none, add "appearance" to the $hover-variants variable:

$hover-variants: (
  // ...
  "appearance",
);

Questions or feedback about this article? Let us know