I would like to create an application using PIXI.js. When I add a PIXI application to the DOM, there is a margin at the bottom. there is amargin at the bottom
Can I remove the bottom margin?
You could add a style with specific style for the canvas element:
<style>
canvas {
display: block;
}
</style>
Here's the result:
Keep in mind this will make all canvas elements appear as block elements.