diff options
-rw-r--r-- | CHANGELOG.md | 5 | ||||
-rw-r--r-- | normalize.css | 13 | ||||
-rw-r--r-- | package.json | 2 |
3 files changed, 17 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e00294..2c27f0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changes to normalize.css +### 8.1.0 (August 21, 2018) + +* Correct the cursor style of increment and decrement buttons in Safari. +* Correct the text style of placeholders in Chrome, Edge, and Safari. + ### 8.0.0 (June 15, 2018) * Remove normalizations for unsupported browsers, such as Android 4-, diff --git a/normalize.css b/normalize.css index 71ad9df..3886f83 100644 --- a/normalize.css +++ b/normalize.css @@ -68,7 +68,7 @@ pre { */ a { - background-color: transparent; /* 1 */ + background-color: transparent; } /** @@ -272,7 +272,7 @@ textarea { } /** - * Correct the cursor style of increment and decrement buttons in Chrome. + * Correct the cursor style of increment and decrement buttons in Safari. */ ::-webkit-inner-spin-button, @@ -291,6 +291,15 @@ textarea { } /** + * Correct the text style of placeholders in Chrome, Edge, and Safari. + */ + +::-webkit-input-placeholder { + color: inherit; + opacity: 0.54; +} + +/** * Remove the inner padding in Chrome and Safari on macOS. */ diff --git a/package.json b/package.json index 7a316d7..b4950c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@csstools/normalize.css", - "version": "8.0.0", + "version": "8.1.0", "description": "A cross-browser CSS foundation", "author": "Jonathan Neal <jonathantneal@hotmail.com>", "contributors": [ |