From c08f72691da5f1af30c699e44536b7367a98ce1a Mon Sep 17 00:00:00 2001 From: ohmyga <40896676+ohmyga233@users.noreply.github.com> Date: Wed, 26 Feb 2020 23:23:01 +0800 Subject: =?UTF-8?q?=F0=9F=91=8D=20=E4=BD=BF=E8=AF=84=E8=AE=BA=E6=94=AF?= =?UTF-8?q?=E6=8C=81=20AJAX=20=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/main/comment.css | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'assets/css/main/comment.css') 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 -- cgit v1.2.3