Layer compositing
This commit is contained in:
1 parent
54ff6b6472
commit
3a31c8ed63
2 files changed
+16
-17
No files matched your search
+3
-3
@@ -7,9 +7,9 @@
|
||||
<style>
|
||||
* {box-sizing: border-box}
|
||||
html, body {padding: 0; margin: 0}
|
||||
body {background: black; height:100vh; overflow: hidden;
|
||||
display:flex; align-items:center; justify-content:center;}
|
||||
canvas {image-rendering: pixelated}
|
||||
body {background: black; height:100vh; overflow: hidden}
|
||||
canvas {image-rendering: pixelated; margin: auto;
|
||||
position:absolute; left:0; right:0; top:0; bottom:0}
|
||||
@font-face { font-family: 'text'; src:url(font.ttf) }
|
||||
</style>
|
||||
</head>
|
||||
|
||||
Reference in new issue
Block a user