summaryrefslogtreecommitdiff
path: root/examples/portfolio/src
diff options
context:
space:
mode:
authorGravatar jake m <jakemillerdev@gmail.com> 2021-09-23 18:02:44 -0700
committerGravatar GitHub <noreply@github.com> 2021-09-23 20:02:44 -0500
commit63ca3df3cad799108edac2dfd106103373cc30dc (patch)
tree026553a0b46f2ccedbd385e44058fa8d7bcaba82 /examples/portfolio/src
parentbc01a49e33bca648b92ca078e2bd0f01563cbb9f (diff)
downloadastro-63ca3df3cad799108edac2dfd106103373cc30dc.tar.gz
astro-63ca3df3cad799108edac2dfd106103373cc30dc.tar.zst
astro-63ca3df3cad799108edac2dfd106103373cc30dc.zip
Update gradient background sizing. (#1417)
Diffstat (limited to 'examples/portfolio/src')
-rw-r--r--examples/portfolio/src/pages/index.astro2
1 files changed, 2 insertions, 0 deletions
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 {