switch to fixed unit for fragment animations to make them more consistent

main
Hakim El Hattab 3 years ago
parent 201e8316a2
commit 6f9b10b269
  1. 8
      css/reveal.scss

@ -102,7 +102,7 @@ body {
}
.reveal .slides section .fragment.fade-up {
transform: translate(0, 20%);
transform: translate(0, 40px);
&.visible {
transform: translate(0, 0);
@ -110,7 +110,7 @@ body {
}
.reveal .slides section .fragment.fade-down {
transform: translate(0, -20%);
transform: translate(0, -40px);
&.visible {
transform: translate(0, 0);
@ -118,7 +118,7 @@ body {
}
.reveal .slides section .fragment.fade-right {
transform: translate(-20%, 0);
transform: translate(-40px, 0);
&.visible {
transform: translate(0, 0);
@ -126,7 +126,7 @@ body {
}
.reveal .slides section .fragment.fade-left {
transform: translate(20%, 0);
transform: translate(40px, 0);
&.visible {
transform: translate(0, 0);

Loading…
Cancel
Save