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

This commit is contained in:
Hakim El Hattab 2019-12-19 08:16:42 +01:00
parent 201e8316a2
commit 6f9b10b269
1 changed files with 4 additions and 4 deletions

View File

@ -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);