In modern-normalize.css
file, there is a reset for form elements:
/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}
button,
input,
selectand
textareaseem fine but
optgroupis unnecessary; why you may ask, because
optgroupshould be a child element of
selectand
optgroupshould be a parent element of
optionelement, we can remove it to take advantage of cascading which
select` element does when it inherits.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too