Commit ae418634 by doszhang

dos

parent 99357020
......@@ -260,6 +260,23 @@ input::-webkit-input-placeholder {
-webkit-animation: tips 1.5s linear forwards 3;
}
.flagadd.animate {
animation: flagadd 1s ease-in forwards;
-webkit-animation: flagadd 1s ease-in forwards;
}
@keyframes flagadd {
0% {
transform: translateY(0);
opacity: 1;
}
100% {
transform: translateY(100%);
opacity: 0;
}
}
@keyframes tips {
50% {
opacity: 0;
......
......@@ -735,6 +735,10 @@ function addCustomizeFlag() {
my_notify('请填写flag');
return false;
}
$('.flagadd').addClass('animate');
setTimeout(function () {
$('.flagadd').removeClass('animate');
}, 1000);
if (firstChooseFlag) {
$('.checked-flag-list').css('transform', 'scale(1)');
checkFlagListStatus = true;
......
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