0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Update gradient background sizing. (#1417)

This commit is contained in:
jake m 2021-09-23 18:02:44 -07:00 committed by GitHub
parent bc01a49e33
commit 63ca3df3ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {