add segment to sketching with css form.