diff --git a/CHANGELOG.md b/CHANGELOG.md index 3a37f414d69e..9daa0015903c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] -- Nothing yet! +### Fixed + +- Ensure max specificity of `0,0,1` for button and input Preflight rules ([#12735](https://github.com/tailwindlabs/tailwindcss/pull/12735)) ## [3.4.1] - 2014-01-05 diff --git a/src/css/preflight.css b/src/css/preflight.css index 3e4fa066386f..7552e50354d9 100644 --- a/src/css/preflight.css +++ b/src/css/preflight.css @@ -195,9 +195,9 @@ select { */ button, -[type='button'], -[type='reset'], -[type='submit'] { +input:where([type='button']), +input:where([type='reset']), +input:where([type='submit']) { -webkit-appearance: button; /* 1 */ background-color: transparent; /* 2 */ background-image: none; /* 2 */