Use css to draw square