0

I have this code:

<!DOCTYPE html>
<html>
    <head>
        <style>
            body {
                margin: 0px 0px 0px 0px;
                padding: 0px 0px 0px 0px;
                background-color: #000;
            }
            html {
                margin: 0px 0px 0px 0px;
                padding: 0px 0px 0px 0px;
            }
            #can {
                width: 100%;
                height: 100vh;
                background-color: #ff0;
            }
        </style>
    </head>
    <body>
        <canvas id="can">

        </canvas>
    </body>
</html>

And I would like Canvas to be the size of the entire file. But HTML leaves a bit of free space under Canvas. (26px) How to lose it?

Piuksu
  • 35
  • 6

0 Answers0