I've loaded my images to canvas to manipulate them at pixel level.
However, the best practice I can find is to set canvas size like this:
<canvas id=c width=800 height=600></canvas>
But when I control the canvas dimension with css like
#c {
	width: 800px;
	height: 600px;
I found that the image quality is different and much worst.
How do I keep the image quality with css as I need my website to be responsive.

Thank you,