main layout
This commit is contained in:
30
src/background.scss
Normal file
30
src/background.scss
Normal file
@@ -0,0 +1,30 @@
|
||||
body {
|
||||
// background: rgb(34, 164, 243);
|
||||
background: #00529b;
|
||||
}
|
||||
|
||||
#background {
|
||||
position: fixed;
|
||||
|
||||
// top: 25%;
|
||||
// left: 25%;
|
||||
// width: 50%;
|
||||
// height: 50%;
|
||||
|
||||
top: 0%;
|
||||
left: 0%;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
.shader {
|
||||
aspect-ratio: 16 / 9;
|
||||
|
||||
min-width: 100%;
|
||||
min-height: 100%;
|
||||
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user