Add a blur effect to sidebar buttons when scrolling up
This commit is contained in:
2 files changed
+18
-2
No files matched your search
@@ -91,7 +91,7 @@ export default function Sidebar () {
|
|||||||
Lncvrt Games Launcher
|
Lncvrt Games Launcher
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<nav className='nav-links overflow-auto pt-2'>
|
<nav className='nav-links overflow-auto'>
|
||||||
<Link
|
<Link
|
||||||
draggable={false}
|
draggable={false}
|
||||||
href='/main'
|
href='/main'
|
||||||
|
|||||||
+17
-1
@@ -14,7 +14,23 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nav-links {
|
.nav-links {
|
||||||
@apply flex flex-col px-4 space-y-1;
|
@apply flex flex-col px-4 space-y-1 pt-3;
|
||||||
|
|
||||||
|
mask-image: linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
transparent 0%,
|
||||||
|
black 12px,
|
||||||
|
black calc(100% - 24px),
|
||||||
|
transparent 100%
|
||||||
|
);
|
||||||
|
|
||||||
|
-webkit-mask-image: linear-gradient(
|
||||||
|
to bottom,
|
||||||
|
transparent 0%,
|
||||||
|
black 12px,
|
||||||
|
black calc(100% - 24px),
|
||||||
|
transparent 100%
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
.link {
|
.link {
|
||||||
|
|||||||
Reference in new issue
Block a user