New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weird looking radio buttons in Safari Mobile #12
Comments
Hey @masylum, thanks for your report. Adding I think instead of add what we don't want to style, we can add just what we want to style: [type="color"],
[type="date"],
[type="datetime"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"] {
border-radius: 0;
} What do you think? |
we actually had to revert that change because of the increased specificity as you mention. We ended up leaving |
@masylum can you paste a snippet of how are you using |
We add a class. Probably it could work also with .radio {
border-radius: inherit;
background-color: inherit;
border-style: inherit;
}
.checkbox {
background-color: inherit;
border-style: inherit;
} |
I tried to use your approach but it didn't work. The best way I've found to solve this is specifying what kind of input we want to reset with those properties. [type="color"],
[type="date"],
[type="datetime"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="search"],
[type="tel"],
[type="text"],
[type="time"],
[type="url"],
[type="week"],
button,
select,
textarea {
background-color: transparent;
border-radius: 0;
border-style: none;
color: inherit;
} The "problem" here is if anyone want to style those properties using the |
I think this is because of:
and
Should we add
:not([type=checkbox]):not([type=radio])
to those?The text was updated successfully, but these errors were encountered: