Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Resetting <address> #40

Open
renestalder opened this issue Feb 3, 2021 · 1 comment
Open

Resetting <address> #40

renestalder opened this issue Feb 3, 2021 · 1 comment

Comments

@renestalder
Copy link

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?

@venikx
Copy link
Contributor

venikx commented Jan 25, 2022

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants