Commit 891e7d38 by doszhang

dos

parent 3fe513fe
...@@ -361,3 +361,18 @@ input[name=signature]::-webkit-input-placeholder { ...@@ -361,3 +361,18 @@ input[name=signature]::-webkit-input-placeholder {
/* placeholder颜色 */ /* placeholder颜色 */
color: #878787; color: #878787;
} }
.agree-wrap.animate {
animation: flicker 1s ease infinite;
-webkit-animation: flicker 1s ease infinite;
}
@keyframes flicker {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
\ No newline at end of file
...@@ -284,6 +284,9 @@ $(document).ready(function () { ...@@ -284,6 +284,9 @@ $(document).ready(function () {
function checkAgree() { function checkAgree() {
if (!agreeSuggestion) { if (!agreeSuggestion) {
$('.agree-wrap').addClass('animate'); $('.agree-wrap').addClass('animate');
setTimeout(function () {
$('.agree-wrap').removeClass('animate');
}, 3000);
} }
} }
......
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