From 92a2d2975c7c7514584410a8ceba84dc2c081892 Mon Sep 17 00:00:00 2001 From: zhizous Date: Fri, 10 Apr 2020 00:17:06 +0800 Subject: [PATCH] submit: time --- css/okadmin.css | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/css/okadmin.css b/css/okadmin.css index 3d35dd7..3807b5e 100644 --- a/css/okadmin.css +++ b/css/okadmin.css @@ -707,7 +707,13 @@ color: #f4f4f4; font-weight: 500; } - +.lock-screen .time .hhmmss, +.lock-screen .time .yyyymmdd, +.lock-screen .lock-content p[lock='lock']{ + color: transparent; + background: linear-gradient(to bottom right, blue, white); + -webkit-background-clip: text; +} .lock-screen .time .hhmmss { font-size: 64px; letter-spacing: 5px; @@ -826,19 +832,27 @@ } @keyframes lock-cursor { 0% { - color: white; + color: transparent; + background: linear-gradient(to bottom right, blue, white); + -webkit-background-clip: text; } 25% { color: transparent; + background: transparent; } 50% { - color: white; + color: transparent; + background: linear-gradient(to bottom right, blue, white); + -webkit-background-clip: text; } 75% { color: transparent; + background: transparent; } 100% { - color: white; + color: transparent; + background: linear-gradient(to bottom right, blue, white); + -webkit-background-clip: text; } } /**==================锁屏样式 End==================*/