InteractivityAppearance

Appearance

Utilities to disable the styling of the original form controls.

Widely available

This feature is well established and works across many devices and browser versions.

Chrome
Edge
Firefox
Safari

a-autoappearance: auto;
a-noneappearance: none;

None

Initial value

Removes all default styling from the element.

<button class="a-none ...">Send</button>

Auto

Allows the element to use the default styling provided by the browser.

<button class="a-auto ...">Send</button>

Using utility variants

Override existing utilities based on the user's screen size or other factors, such as hover states.

Responsive design

Target different screen sizes by adding breakpoint prefixes. Styles apply from the specified breakpoint and up.

Target specific viewport sizes with breakpoint prefixes

sm:a-[value]
Small640px
md:a-[value]
Medium768px
lg:a-[value]
Large1024px
xxl:a-[value]
Extra Large1536px

Hover state variant

Apply styles conditionally when users hover over an element using the h: prefix.

Add the h: prefix to apply styles only when the user hovers over the element.

Syntax:h:a-[value]