csstools / csstools/sanitize.css

iOS 15 brings up some new default styles

Open
#230 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
CSS
Stars
5.3k
Forks
299
PR merge metrics
No merged PRs in 30d

Description

We stumbled upon an issue with default stylings on iOS 15. Safari renders some components with `color: -apple-system-blue;`, so we needed to add the following reset declarations:
```
input:is([type='button'], [type='submit'], [type='reset']),
input[type='file']::file-selector-button,
button,
select {
color: inherit;
}
```

Did you came across the same issue and is this a legitimate way to fix this? And if so, is this fix a candidate for a pull request?

Thanks you and best regards!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.