feat: canvas based interactive background
This commit is contained in:
@@ -26,11 +26,6 @@ body {
|
||||
padding: 2rem;
|
||||
margin: 0;
|
||||
background-color: var(--base);
|
||||
opacity: 1;
|
||||
background-image: radial-gradient(var(--surface1) 1px, var(--base) 1px);
|
||||
background-opacity: 0.8;
|
||||
background-size: 10px 10px;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
h1,
|
||||
@@ -55,6 +50,15 @@ main {
|
||||
}
|
||||
}
|
||||
|
||||
#bg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
z-index: -10;
|
||||
}
|
||||
|
||||
.container {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
|
Reference in New Issue
Block a user