Commit 3c1f2aee by doszhang

dos

parent 4bb71360
...@@ -206,12 +206,20 @@ input::-webkit-input-placeholder { ...@@ -206,12 +206,20 @@ input::-webkit-input-placeholder {
} }
.page1 .red-line-block { .page1 .red-line-block {
transform: scaleX(0);
overflow: hidden; overflow: hidden;
} }
.page1 .red-line.animate, .page1 .red-line2 {
.page1 .red-line-block.animate { width: 0%;
background-size: cover;
}
.page1 .red-line2.animate {
animation: scale2 0.7s ease-in forwards;
-webkit-animation: scale2 0.7s ease-in forwards;
}
.page1 .red-line.animate {
transform-origin: 0%; transform-origin: 0%;
animation: scale 0.7s ease-in forwards; animation: scale 0.7s ease-in forwards;
-webkit-animation: scale 0.7s ease-in forwards; -webkit-animation: scale 0.7s ease-in forwards;
...@@ -475,6 +483,16 @@ input::-webkit-input-placeholder { ...@@ -475,6 +483,16 @@ input::-webkit-input-placeholder {
} }
} }
@keyframes scale2 {
0% {
width: 0%;
}
100% {
width: 100%;
}
}
/* personal-page */ /* personal-page */
.personal-page { .personal-page {
background: #e5382a; background: #e5382a;
......
...@@ -918,7 +918,7 @@ function showFlagPage() { ...@@ -918,7 +918,7 @@ function showFlagPage() {
if (page1Next) { if (page1Next) {
page1Next = false; page1Next = false;
$('.red-line,.red-line-block').addClass('animate'); $('.red-line,.red-line2').addClass('animate');
setTimeout(function () { setTimeout(function () {
$('.page1').fadeOut(500); $('.page1').fadeOut(500);
$('.flag-page').show(); $('.flag-page').show();
......
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