commit
50677fafef
@ -1,19 +1,20 @@
|
||||
body, html {
|
||||
height: 100%;
|
||||
body {
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
background-color: #000000; /* Change the background color as needed */
|
||||
}
|
||||
|
||||
#canvasContainer {
|
||||
aspect-ratio: 1 / 1;
|
||||
width: 100vh; /* Initial half-screen size */
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
transition: width 0.5s ease; /* Smooth transition */
|
||||
float: left;
|
||||
object-fit: contain;
|
||||
}
|
||||
|
||||
canvas {
|
||||
|
Loading…
x
Reference in New Issue
Block a user