switch to fixed unit for fragment animations to make them more consistent
This commit is contained in:
parent
201e8316a2
commit
6f9b10b269
@ -102,7 +102,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.fade-up {
|
.reveal .slides section .fragment.fade-up {
|
||||||
transform: translate(0, 20%);
|
transform: translate(0, 40px);
|
||||||
|
|
||||||
&.visible {
|
&.visible {
|
||||||
transform: translate(0, 0);
|
transform: translate(0, 0);
|
||||||
@ -110,7 +110,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.fade-down {
|
.reveal .slides section .fragment.fade-down {
|
||||||
transform: translate(0, -20%);
|
transform: translate(0, -40px);
|
||||||
|
|
||||||
&.visible {
|
&.visible {
|
||||||
transform: translate(0, 0);
|
transform: translate(0, 0);
|
||||||
@ -118,7 +118,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.fade-right {
|
.reveal .slides section .fragment.fade-right {
|
||||||
transform: translate(-20%, 0);
|
transform: translate(-40px, 0);
|
||||||
|
|
||||||
&.visible {
|
&.visible {
|
||||||
transform: translate(0, 0);
|
transform: translate(0, 0);
|
||||||
@ -126,7 +126,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.reveal .slides section .fragment.fade-left {
|
.reveal .slides section .fragment.fade-left {
|
||||||
transform: translate(20%, 0);
|
transform: translate(40px, 0);
|
||||||
|
|
||||||
&.visible {
|
&.visible {
|
||||||
transform: translate(0, 0);
|
transform: translate(0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user