From 92586b114378fe3458043538abd210bc1c04de2a Mon Sep 17 00:00:00 2001 From: "p.belezov" Date: Tue, 18 Jun 2024 17:22:35 +0800 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=B4?= =?UTF-8?q?=D0=B8=D0=B7=D0=B0=D0=B9=D0=BD=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/css/app.css | 66 ++++++++++++++++++++++++++++++++++++++++ resources/views/Main.vue | 58 +++++++++++++++++------------------ 2 files changed, 94 insertions(+), 30 deletions(-) diff --git a/resources/css/app.css b/resources/css/app.css index e69de29..dbff2df 100644 --- a/resources/css/app.css +++ b/resources/css/app.css @@ -0,0 +1,66 @@ +.bg-gradient { + background-color: rgba(101,0,94,1)!important; + background-size: 400% 400%!important; + height: 100vh!important; +} + +@keyframes gradient { + 0% { + background-position: 0% 0%; + } + 50% { + background-position: 100% 100%; + } + 100% { + background-position: 0% 0%; + } +} + +.wave { + background: rgb(255 255 255 / 25%); + border-radius: 1000% 1000% 0 0; + position: fixed; + width: 200%; + height: 12em; + animation: wave 10s -3s linear infinite; + transform: translate3d(0, 0, 0); + opacity: 0.8; + bottom: 0; + left: 0; + z-index: -1; +} + +.wave:nth-of-type(2) { + bottom: -1.25em; + animation: wave 18s linear reverse infinite; + opacity: 0.8; +} + +.wave:nth-of-type(3) { + bottom: -2.5em; + animation: wave 20s -1s reverse infinite; + opacity: 0.9; +} + +@keyframes wave { + 2% { + transform: translateX(1); + } + + 25% { + transform: translateX(-25%); + } + + 50% { + transform: translateX(-50%); + } + + 75% { + transform: translateX(-25%); + } + + 100% { + transform: translateX(1); + } +} + diff --git a/resources/views/Main.vue b/resources/views/Main.vue index 65aac3a..71593db 100644 --- a/resources/views/Main.vue +++ b/resources/views/Main.vue @@ -1,15 +1,17 @@