summaryrefslogtreecommitdiffstats
path: root/assets/css
diff options
context:
space:
mode:
authorohmyga <40896676+ohmyga233@users.noreply.github.com>2020-02-26 23:23:01 +0800
committerohmyga <40896676+ohmyga233@users.noreply.github.com>2020-02-26 23:23:01 +0800
commitc08f72691da5f1af30c699e44536b7367a98ce1a (patch)
treecba5b664a3eb03bf6cd5bb2a26d9355b0f2cb75b /assets/css
parent0b979b03e426ba5d9646a5c83c8967c74011cc38 (diff)
👍 使评论支持 AJAX 提交
Diffstat (limited to 'assets/css')
-rw-r--r--assets/css/main/comment.css31
1 files changed, 31 insertions, 0 deletions
diff --git a/assets/css/main/comment.css b/assets/css/main/comment.css
index 74a8bb3..9b2390c 100644
--- a/assets/css/main/comment.css
+++ b/assets/css/main/comment.css
@@ -257,4 +257,35 @@
#response {
text-align: center;
margin-top: 60px;
+}
+
+/* ===== 从左到右淡入 ===== */
+@keyframes fadein {
+ 0% {
+ opacity: 0;
+ transform: translateX(5vh);
+ }
+
+ 100% {
+ opacity: 1;
+ transform: translateX(0);
+ }
+}
+
+@-webkit-keyframes fadein {
+ 0% {
+ opacity: 0;
+ transform: translateX(5vh);
+ }
+
+ 100% {
+ opacity: 1;
+ transform: translateX(0);
+ }
+}
+
+.comment-animation-fadein {
+ animation: fadein;
+ animation-duration: 0.3s;
+ -webkit-animation: fadein 0.3s;
} \ No newline at end of file