added the first space background : test
This commit is contained in:
@@ -68,6 +68,38 @@ body {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
/* ---------- space backdrop ---------- */
|
||||
|
||||
.space {
|
||||
position: fixed;
|
||||
inset: -5% -5% -5% -5%;
|
||||
z-index: -1;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.space__star {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
border-radius: 50%;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.space__nebula {
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
filter: blur(80px);
|
||||
will-change: transform, opacity;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.space {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
img,
|
||||
svg {
|
||||
max-width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user