0
Colored outlines of Shapes In JS
I know how to fill the color of a shape and everything like that, but if I want the outline of lets say a rectangle to be blue instead of standard black what command would I use?
1 Réponse
+ 1
Use border in CSS:
border: solid #000000 3px;
This makes a solid border (not a dotted border or anything), black outline of 3px width. You can also use border-color to change just the color or only fill in the border element of border