3 ms·
.button { all: unset; /* continue styling */ }
by minitech 6y ago
.button {
all: unset;
/* continue styling */
}
- crazygringo 6y agoHuh, TIL. Looking it up on MDN, looks like that was implemented in WebKit in 2016. Even HTML5 didn't have that, while <button> has been around since the late 1990's. Well, very happy to know that's no longer the case then, thanks! One more thing in CSS that's finally been addressed.
- fiddlerwoaroof 6y agoI really dislike this because it now makes the buttons not look like my platform’s buttons. I know this ship has sailed, but there are resets out there that allow you to fix most of the styling issues without making the buttons look like not-buttons.
- rendall 6y agoIt was possible to entirely reset the appearance of the button element before 2016.