diff options
author | Jonathan Neal <jonathantneal@hotmail.com> | 2018-08-21 14:12:15 -0400 |
---|---|---|
committer | Jonathan Neal <jonathantneal@hotmail.com> | 2018-08-21 14:18:15 -0400 |
commit | 8bef06c6c8f29f6342827965861e296537afd79c (patch) | |
tree | 525a383ae209dda03f5ef95169cb3293ca65788b | |
parent | 27b3b6ceb9f71ae6e50095fb96db7ed321dc4b7d (diff) | |
download | normalize.css-8.1.0.tar.gz normalize.css-8.1.0.zip |
8.1.08.1.0
* Correct the cursor style of increment and decrement buttons in Safari.
* Correct the text style of placeholders in Chrome, Edge, and Safari.
-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": [ |