How to the left of canvas to place in a column 3 divs?
.q,.w,.e,.r { width: 100px; padding: 10px; background: #fc0; position: relative; display: inline-block; } .q { background-color: red;} .w { background-color: green;} .e { background-color: #ff11ff;} .r { width: auto; background-color: #ff1155; display: block;} .container { text-align: center; float: left; position: relative; left: 50%; transform: translate(-50%); } <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251"> <link rel="stylesheet" type="text/css" href="111.css"> </head> <body> <div class="container"> <div class="q">q</div> <div class="w">w</div> <div class="e">e</div> <canvas class="r" id="canvas" width="1200" height="1000" style="width:300px; height:300px;" ></canvas> </div> </body> </html>