+ 10

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

I want to give a brown colored border to it.

2nd Dec 2018, 11:58 AM
ShortCode
3 odpowiedzi
+ 6
canvas { border: 5px solid brown; } (Or instead of `brown`, any hex color you like.)
2nd Dec 2018, 11:59 AM
Schindlabua
Schindlabua - avatar
+ 7
This code has a border around a canvas. https://code.sololearn.com/W1HY6l1JY8o9/?ref=app
3rd Dec 2018, 9:54 AM
Shuaib Nuruddin
Shuaib Nuruddin - avatar
+ 4
Thanks alot :) Schindlabua
2nd Dec 2018, 12:09 PM
ShortCode