Skip to content
New issue

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

Disable animations and transitions in print CSS #239

Merged
merged 2 commits into from
May 5, 2020

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented May 5, 2020

Disable CSS animations and transitions through styles for print that is injected by Marpit printable PostCSS plugin.

We are using animation-duration: 0s !important and animation-delay: 0s !important instead of animation: none !important. If disabled animationsimply, the rendered result won't reflect the state of animation-fill-mode.

Fix #238.

@yhatt yhatt merged commit 879f571 into master May 5, 2020
@yhatt yhatt deleted the disable-animations-in-print branch May 5, 2020 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should disable CSS transitions and animations in the style for print
1 participant