reset-button

Resets default styles of button elements.

Arguments

Example

@use 'more-sass' as more;

button {
    @include more.reset-button;
}
button {
    margin: 0;
    padding: 0;
    font: inherit;
    color: currentColor;
    width: auto;
    background: none;
    border: 0;
    box-shadow: none;
    appearance: none;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    user-select: none;
}
Edit this page on GitHub Updated at Mon, Jan 30, 2023