bg fixed
This commit is contained in:
parent
f62310b201
commit
c72cdfed53
2 changed files with 7 additions and 1 deletions
|
|
@ -13,9 +13,14 @@ body {
|
|||
min-height: 100vh;
|
||||
font-family: "Space Grotesk", sans-serif;
|
||||
color: #fff;
|
||||
background-color: #500;
|
||||
}
|
||||
|
||||
body{
|
||||
.bg{
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
z-index: -999;
|
||||
background:
|
||||
radial-gradient(circle at 0% 0%, #da0202 0%, transparent 50%),
|
||||
radial-gradient(circle at 25% -5%, #da0202 0%, transparent 40%),
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ export default function RootLayout({
|
|||
}>) {
|
||||
return (
|
||||
<html lang="de">
|
||||
<div className="bg"/>
|
||||
<body>
|
||||
{children}
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue