diff --git a/CHANGELOG.md b/CHANGELOG.md index 922f6e38c..36cb36c23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changes to normalize.css +### 8.0.2 (May 23, 2026) + +* Correct the box sizing. +* Add button cursor pointer normalization for better UX. + ### 8.0.1 (November 4, 2018) * Fix regression in IE rendering of `main` element. diff --git a/normalize.css b/normalize.css index 192eb9ce4..05ac2bd67 100644 --- a/normalize.css +++ b/normalize.css @@ -347,3 +347,26 @@ template { [hidden] { display: none; } + +/** + * Correct the visibility of the cursor for buttons to make it pointer by default + */ + +button, +[type="button"], +[type="reset"], +[type="submit"] { + cursor: pointer; +} + +/** + * Correct the box sizing in all browsers. + */ + +*, +*::before, +*::after { + -webkit-box-sizing: border-box; + -moz-box-sizing: border-box; + box-sizing: border-box; +} diff --git a/package-lock.json b/package-lock.json index 7f8590b4d..ebefc051b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { "name": "normalize.css", - "version": "8.0.1", + "version": "8.0.2", "lockfileVersion": 1 } diff --git a/package.json b/package.json index 668bda8a4..8b7982392 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "normalize.css", - "version": "8.0.1", + "version": "8.0.2", "description": "A modern alternative to CSS resets", "main": "normalize.css", "style": "normalize.css",