boxes styled in CSS with a 1s ease transition into content