[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


3 Answers

New Answer


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


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


Thanks alot :) Schindlabua