css for pre resizing