summaryrefslogtreecommitdiffstats
path: root/assets/css/main/comment.css
diff options
context:
space:
mode:
authorEltrac Koalar <hi@guhub.cn>2020-02-26 23:26:37 +0800
committerGitHub <noreply@github.com>2020-02-26 23:26:37 +0800
commita5ad58aa4c587b1f7de42deda5afc0a52fe26242 (patch)
tree6b238285e3a757f986ca4774e2910a65fe28e372 /assets/css/main/comment.css
parentd10aa7ac65557004beb5e44060337f5feb945373 (diff)
parentc08f72691da5f1af30c699e44536b7367a98ce1a (diff)
Merge pull request #29 from ohmyga233/master
修复暗色下部分问题,新增 AJAX 提交评论
Diffstat (limited to 'assets/css/main/comment.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