Use css to adjust canvas