From 12e77f9a895255554e339b3de2c09b12f085dea3 Mon Sep 17 00:00:00 2001 From: Andy Bell Date: Thu, 3 Oct 2019 20:58:08 +0100 Subject: [PATCH] Publish new version --- dist/reset.css | 7 ++++--- dist/reset.min.css | 2 +- package-lock.json | 2 +- package.json | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/dist/reset.css b/dist/reset.css index 2a26e6b..f7c6d24 100644 --- a/dist/reset.css +++ b/dist/reset.css @@ -67,11 +67,12 @@ select { font: inherit; } -/* Remove _all_ animations and transitions for people that prefer not to see them */ +/* Remove all animations and transitions for people that prefer not to see them */ @media (prefers-reduced-motion: reduce) { * { - animation-play-state: paused !important; - transition: none !important; + animation-duration: 0.01ms !important; + animation-iteration-count: 1 !important; + transition-duration: 0.01ms !important; scroll-behavior: auto !important; } } diff --git a/dist/reset.min.css b/dist/reset.min.css index f088434..e78cc4c 100644 --- a/dist/reset.min.css +++ b/dist/reset.min.css @@ -1 +1 @@ -*,*::before,*::after{box-sizing:border-box}ul[class],ol[class]{padding:0}body,h1,h2,h3,h4,p,ul[class],ol[class],li,figure,figcaption,blockquote,dl,dd{margin:0}body{min-height:100vh;scroll-behavior:smooth;text-rendering:optimizeSpeed;line-height:1.5}ul[class],ol[class]{list-style:none}a:not([class]){text-decoration-skip-ink:auto}img{max-width:100%;display:block}article>*+*{margin-top:1em}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){*{animation-play-state:paused !important;transition:none !important;scroll-behavior:auto !important}} +*,*::before,*::after{box-sizing:border-box}ul[class],ol[class]{padding:0}body,h1,h2,h3,h4,p,ul[class],ol[class],li,figure,figcaption,blockquote,dl,dd{margin:0}body{min-height:100vh;scroll-behavior:smooth;text-rendering:optimizeSpeed;line-height:1.5}ul[class],ol[class]{list-style:none}a:not([class]){text-decoration-skip-ink:auto}img{max-width:100%;display:block}article>*+*{margin-top:1em}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}} diff --git a/package-lock.json b/package-lock.json index ba212de..0344f92 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "modern-css-reset", - "version": "1.0.2", + "version": "1.0.4", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 0c872f8..c7e45f6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "modern-css-reset", - "version": "1.0.3", + "version": "1.0.4", "description": "A bare-bones CSS reset for modern web development", "main": "./dist/reset.min.css", "scripts": {