Commit 256c2d87 by doszhang

dos

parent 4a18b55e
......@@ -94,6 +94,11 @@ input::-webkit-input-placeholder {
background-size: 100%;
}
.question-page .point {
animation: all 0.5s ease forwards;
-webkit-animation: all 0.5s ease forwards;
}
@-webkit-keyframes fadeOutLeft {
0% {
opacity: 1
......
......@@ -83,6 +83,7 @@ function nextQuestion() {
nowAnswer = '';
$('.question' + nowQuestionIndex + '-block').addClass('fadeoutleft');
nowQuestionIndex++;
$('.question-page .point').css('transform', 'translateX(' + 5.5 * (nowQuestionIndex - 1) + 'rem)');
if (nowQuestionIndex == 5) {
$('.btn-submit').show();
$('.btn-nextquestion').hide();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment