Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: Remove blue on button, select on iOS 15+ Safari
On iOS 15+ devices the button text color has changed to blue
(via color: -apple-system-blue;).

This is a change from iOS 14- devices which displayed black. While all
browsers display buttons slightly differently I felt the blue change was
significant enough to warrant a reset as developers might not be
expecting this.
  • Loading branch information
studioromeo committed Nov 8, 2021
commit 9f33cd71ff0b853ae41af4d1e16e267fb1e97afc
6 changes: 4 additions & 2 deletions normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -181,11 +181,13 @@ input { /* 1 */
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
* 2. Remove blue color in iOS 15+ Safari
*/

button,
select { /* 1 */
text-transform: none;
select {
color: inherit; /* 2 */
text-transform: none; /* 1 */
}

/**
Expand Down