index.html: vertically center canvas
This commit is contained in:
parent
9f2e4e6996
commit
7a14936af2
1 changed files with 7 additions and 1 deletions
6
dist/index.html
vendored
6
dist/index.html
vendored
|
@ -13,10 +13,16 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
canvas {
|
||||||
|
position: relative;
|
||||||
|
top: calc(50% - 384px);
|
||||||
|
}
|
||||||
|
|
||||||
* {
|
* {
|
||||||
margin: 0px;
|
margin: 0px;
|
||||||
padding: 0px;
|
padding: 0px;
|
||||||
border: 0px;
|
border: 0px;
|
||||||
|
background: #223;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
Reference in a new issue