Andy-set-studio / modern-css-reset

A bare-bones CSS reset for modern web development.

Home Page:https://hankchizljaw.com/wrote/a-modern-css-reset/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resetting <address>

renestalder opened this issue · comments

In your reset, I made a slight addition by adding the address selector to the resets that is used for the inputs and buttons. The address element, by default, is rendered italic.

e.g.

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select,
address {
  font: inherit;
}

You open for a PR of this or does it have any negative effects?

I wouldn't mind having this as my default, as I purely use the address element for accessibility purposes, not for the italic styling. It's just a default given by the browsers, the spec doesn't include such defaults: https://www.w3.org/TR/2011/WD-html5-author-20110809/the-address-element.html.