Reputation: 177
Is there a way to change the color of the HTML5 element using CSS instead of JS? I need to customize qTips tooltip pointers using custom LESS CSS rules which I can't refer to using jQuery.
Upvotes: 9
Views: 29604
Reputation: 5790
Yes, I don't know what the issue you are running into but I have a working jsfiddle here
<canvas></canvas>
canvas {
background: #cdcdcd;
width:200px;
height:200px;
}
Upvotes: 8