updating box sizes in CSS