4 ms·
`appearance: none` goes a long way to resetting button styles. I usually make a .unbuttonify class to use or extend for things I want to behave like buttons (fr
by crisnoble 11mo ago
`appearance: none` goes a long way to resetting button styles. I usually make a .unbuttonify class to use or extend for things I want to behave like buttons (free focus, accessibility, and interactivity) but look like, say, a hamburger menu toggle.
- culi 11mo agoare css resets not in vogue any more? I still use them for all my side projects. As well as a normalize.css[0] that smooths over any additional browser inconsistencies. The original Meyer reset is definitely overkill, but there are a couple newer more minimal ones out there[2][3] [0] https://necolas.github.io/normalize.css/ https://necolas.github.io/normalize.css/ [1] https://meyerweb.com/eric/tools/css/reset/ https://meyerweb.com/eric/tools/css/reset/ [2] https://www.joshwcomeau.com/css/custom-css-reset/ https://www.joshwcomeau.com/css/custom-css-reset/ [3] https://piccalil.li/blog/a-more-modern-css-reset/ https://piccalil.li/blog/a-more-modern-css-reset/
- isleyaardvark 11mo agoLess so now that the `all: unset` property is getting better support. https://developer.mozilla.org/en-US/docs/Web/CSS/unset https://developer.mozilla.org/en-US/docs/Web/CSS/unset