Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
How to set the color of a canvas tag with css
See title. I tried using the color attribute but it didn't work. Any answer is appreciated.
2 Antworten
0
'color: ' is use for font color. 'background-color: ' is used for things that are not text.
+ 3
It's only the background-color attribute that can be used in css for canvas.