diff --git a/01.bg-video/style.css b/01.bg-video/style.css index 48405bc..45926b9 100644 --- a/01.bg-video/style.css +++ b/01.bg-video/style.css @@ -1,17 +1,22 @@ * { padding: 0; margin: 0; + color: #fff; box-sizing: border-box; font-family: sans-serif; } +a { + text-decoration: none; +} + .hero { - width: 100%; + width: 100vw; height: 100vh; background-image: linear-gradient(rgba(12, 3, 51, 0.3), rgba(12, 3, 51, 0.3)); position: relative; - padding: 0 5%; display: flex; + flex-direction: column; justify-content: center; align-items: center; } @@ -22,9 +27,8 @@ .content h1 { font-size: 160px; - color: #fff; font-weight: 600; - transition: 0.5s; + transition: .8s; } .content h1:hover { @@ -33,14 +37,12 @@ } .content a { - text-decoration: none; display: inline-block; - color: #fff; font-size: 24px; border: 2px solid white; padding: 14px 50px; margin-top: 20px; - transition: 0.5s; + transition: .8s; } .content a:hover {