We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using keyframes with a point value in the keyframe stops they gets escaped and they do not work.
Input:
module.exports = { purge: [], theme: { extend: { keyframes: theme => ({ 'anim-spinner': { '0%': { strokeDashoffset: '628', transform: 'rotateY(0deg) rotateZ(-90deg)', animationTimingFunction: theme('transitionTimingFunction.ease.out'), }, '50%': { strokeDashoffset: '0', transform: 'rotateY(0deg) rotateZ(90deg)', animationTimingFunction: theme('transitionTimingFunction.ease.in'), }, '50.0001%': { strokeDashoffset: '0', transform: 'rotateY(180deg) rotateZ(90deg)', }, '100%': { strokeDashoffset: '628', transform: 'rotateY(180deg) rotateZ(-90deg)', }, }, }), }, }, variants: {}, plugins: [], }
Output:
@keyframes anim-spinner { 0% { stroke-dashoffset: 628; transform: rotateY(0deg) rotateZ(-90deg); } 50% { stroke-dashoffset: 0; transform: rotateY(0deg) rotateZ(90deg); } 50.\30 001\% { stroke-dashoffset: 0; transform: rotateY(180deg) rotateZ(90deg); } 100% { stroke-dashoffset: 628; transform: rotateY(180deg) rotateZ(-90deg); } }
You can see that the keyframe 50.0001% becomes 50.\30 001\%
50.0001%
50.\30 001\%
https://github.com/minimit/twbug-keyframes-escape
The text was updated successfully, but these errors were encountered:
Fixed for next version, thanks!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Describe the problem:
When using keyframes with a point value in the keyframe stops they gets escaped and they do not work.
Input:
Output:
You can see that the keyframe
50.0001%
becomes50.\30 001\%
Link to a minimal reproduction:
https://github.com/minimit/twbug-keyframes-escape
The text was updated successfully, but these errors were encountered: