codepens/volumes/dist/style.css

21 lines
367 B
CSS

html,
body {
margin: 0;
padding: 0;
height: 100%;
}
body {
background-color: rgba(0, 0, 0, 0.04);
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
canvas {
flex-shrink: 0;
background-color: white;
object-fit: contain;
box-shadow: 0.2rem 0.1rem 0.4rem rgba(0, 0, 0, 0.2);
padding: 2rem;
border-radius: 3px;
}