Skip to content
Snippets Groups Projects
Commit 129010bd authored by Andreas Gärtner's avatar Andreas Gärtner
Browse files

fix animation stuttering caused by pseudo element style

parent 066e7c6c
1 merge request!39Flashcards revisited
Pipeline #4865 passed with stages
in 1 minute and 9 seconds
This commit is part of merge request !39. Comments created here will be created in the context of that merge request.
......@@ -52,7 +52,7 @@
color: $flashcard-front-font-color;
}
&:before {
&:after {
content: '1';
color: $flashcard-front-font-color;
}
......@@ -70,21 +70,19 @@
color: $flashcard-back-font-color;
}
&:before {
&:after {
content: '2';
color: $flashcard-back-font-color;
}
}
.back, .front {
&:before {
&:after {
right: 8px;
bottom: 1px;
opacity: 0.3;
font-size: 0.75em;
position: absolute;
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment