diff --git a/__tests__/fixtures/tailwind-output-ie11.css b/__tests__/fixtures/tailwind-output-ie11.css index 6690bfbc7..82f67cf2f 100644 --- a/__tests__/fixtures/tailwind-output-ie11.css +++ b/__tests__/fixtures/tailwind-output-ie11.css @@ -10951,21 +10951,12 @@ video { } @keyframes spin { - from { - transform: rotate(0deg); - } - to { transform: rotate(360deg); } } @keyframes ping { - 0% { - transform: scale(1); - opacity: 1; - } - 75%, 100% { transform: scale(2); opacity: 0; @@ -10973,10 +10964,6 @@ video { } @keyframes pulse { - 0%, 100% { - opacity: 1; - } - 50% { opacity: .5; } @@ -10989,7 +10976,7 @@ video { } 50% { - transform: translateY(0); + transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); } } diff --git a/__tests__/fixtures/tailwind-output-important.css b/__tests__/fixtures/tailwind-output-important.css index a2efec719..158428607 100644 --- a/__tests__/fixtures/tailwind-output-important.css +++ b/__tests__/fixtures/tailwind-output-important.css @@ -14563,21 +14563,12 @@ video { } @keyframes spin { - from { - transform: rotate(0deg); - } - to { transform: rotate(360deg); } } @keyframes ping { - 0% { - transform: scale(1); - opacity: 1; - } - 75%, 100% { transform: scale(2); opacity: 0; @@ -14585,10 +14576,6 @@ video { } @keyframes pulse { - 0%, 100% { - opacity: 1; - } - 50% { opacity: .5; } @@ -14601,7 +14588,7 @@ video { } 50% { - transform: translateY(0); + transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); } } diff --git a/__tests__/fixtures/tailwind-output-no-color-opacity.css b/__tests__/fixtures/tailwind-output-no-color-opacity.css index 53e4b7806..9e14ea7ff 100644 --- a/__tests__/fixtures/tailwind-output-no-color-opacity.css +++ b/__tests__/fixtures/tailwind-output-no-color-opacity.css @@ -12115,21 +12115,12 @@ video { } @keyframes spin { - from { - transform: rotate(0deg); - } - to { transform: rotate(360deg); } } @keyframes ping { - 0% { - transform: scale(1); - opacity: 1; - } - 75%, 100% { transform: scale(2); opacity: 0; @@ -12137,10 +12128,6 @@ video { } @keyframes pulse { - 0%, 100% { - opacity: 1; - } - 50% { opacity: .5; } @@ -12153,7 +12140,7 @@ video { } 50% { - transform: translateY(0); + transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); } } diff --git a/__tests__/fixtures/tailwind-output.css b/__tests__/fixtures/tailwind-output.css index 7f5a489c3..c49e716ac 100644 --- a/__tests__/fixtures/tailwind-output.css +++ b/__tests__/fixtures/tailwind-output.css @@ -14563,21 +14563,12 @@ video { } @keyframes spin { - from { - transform: rotate(0deg); - } - to { transform: rotate(360deg); } } @keyframes ping { - 0% { - transform: scale(1); - opacity: 1; - } - 75%, 100% { transform: scale(2); opacity: 0; @@ -14585,10 +14576,6 @@ video { } @keyframes pulse { - 0%, 100% { - opacity: 1; - } - 50% { opacity: .5; } @@ -14601,7 +14588,7 @@ video { } 50% { - transform: translateY(0); + transform: none; animation-timing-function: cubic-bezier(0,0,0.2,1); } } diff --git a/stubs/defaultConfig.stub.js b/stubs/defaultConfig.stub.js index cba3864e5..398b26f85 100644 --- a/stubs/defaultConfig.stub.js +++ b/stubs/defaultConfig.stub.js @@ -631,15 +631,12 @@ module.exports = { }, keyframes: { spin: { - from: { transform: 'rotate(0deg)' }, to: { transform: 'rotate(360deg)' }, }, ping: { - '0%': { transform: 'scale(1)', opacity: '1' }, '75%, 100%': { transform: 'scale(2)', opacity: '0' }, }, pulse: { - '0%, 100%': { opacity: '1' }, '50%': { opacity: '.5' }, }, bounce: { @@ -648,7 +645,7 @@ module.exports = { animationTimingFunction: 'cubic-bezier(0.8,0,1,1)', }, '50%': { - transform: 'translateY(0)', + transform: 'none', animationTimingFunction: 'cubic-bezier(0,0,0.2,1)', }, },