Much fancier banners

This commit is contained in:
daudix
2024-07-15 07:10:12 +03:00
parent 462e248be9
commit 12408de744
3 changed files with 15 additions and 6 deletions

View File

@ -1,4 +1,4 @@
#banner {
#banner-container {
$mask: linear-gradient(black, transparent);
-webkit-mask-image: $mask;
-webkit-user-select: none;
@ -7,9 +7,17 @@
left: 0;
z-index: -1;
mask-image: $mask;
transition: none;
margin: 0;
width: 100vw;
height: 50vw;
user-select: none;
#banner {
position: fixed;
top: 0;
left: 0;
transition: none;
margin: 0;
}
}
.banner-margin {