locate canvas in center of screen css
canvas{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
Are there any code examples left?
New code examples in category CSS
canvas{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}