From 63ca3df3cad799108edac2dfd106103373cc30dc Mon Sep 17 00:00:00 2001 From: jake m Date: Thu, 23 Sep 2021 18:02:44 -0700 Subject: [PATCH] Update gradient background sizing. (#1417) --- examples/portfolio/src/pages/index.astro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/portfolio/src/pages/index.astro b/examples/portfolio/src/pages/index.astro index 8c1e8ab23..84bc0af23 100644 --- a/examples/portfolio/src/pages/index.astro +++ b/examples/portfolio/src/pages/index.astro @@ -37,6 +37,7 @@ const featuredProject = projects[0]; .gradient, .gradient2 { background-image: url('/assets/mesh-gradient.jpg'); + background-size: cover; pointer-events: none; mix-blend-mode: screen; width: 100%; @@ -49,6 +50,7 @@ const featuredProject = projects[0]; .gradient2 { mix-blend-mode: multiply; + background-size: cover; } .overlay {