From 8107148cef81bf563c2a7fd478741ceb0a2a4e02 Mon Sep 17 00:00:00 2001 From: santic-zombie Date: Thu, 26 Mar 2020 14:25:27 +0300 Subject: [PATCH] Changes --- css/style1.css | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/css/style1.css b/css/style1.css index dd48eae..4f71aa7 100644 --- a/css/style1.css +++ b/css/style1.css @@ -3,6 +3,7 @@ body { background-image: url("/pic/bg.png"); background-repeat: no-repeat; background-position: top center; + background-size: cover; } #song{ @@ -10,7 +11,7 @@ body { height: 300px; margin: auto; justify-content : center; - background-color: rgba(0, 0, 0, 0.55); + background-color: rgba(0, 0, 0, 0.7); border-radius: 10px; color: #fff; } @@ -46,8 +47,31 @@ body { display: flex; } +h1::before { + content: ''; + display: inline-block; + margin:0 10px; + width: 25px; + height: 25px; + -webkit-border-radius: 25px; + -moz-border-radius: 25px; + border-radius: 25px; + background: red; + animation: blink 3s linear infinite; +} + +@keyframes blink{ + 0%{opacity: 0;} + 25%{opacity: .5;} + 50%{opacity: 1;} + 75%{opacity: .5;} + 100%{opacity: 0;} +} + h1 { text-align: center + float:left; + margin:10px 50px; } DIV {