+9

[solved] How to draw border to Canvas using CSS?

I want to give a brown colored border to it.

12/2/2018 11:58:24 AM

ShortCode

3 Answers

New Answer

+6

canvas { border: 5px solid brown; } (Or instead of `brown`, any hex color you like.)

+7

This code has a border around a canvas. https://code.sololearn.com/W1HY6l1JY8o9/?ref=app

+4

Thanks alot :) Schindlabua