CSS Button Styles You Might Not Know - David Bushell
▻https://dbushell.com/2024/03/10/css-button-styles-you-might-not-know
.button,
::file-selector-button {
inline-size: fit-content;
touch-action: manipulation;
user-select: none;
}
* {
&:focus {
outline: none;
}
&:focus-visible {
outline: 2px solid magenta;
outline-offset: 2px;
}
}