Simply recreate a javascript technique and style in CSS. Note it is more flexible than the previous technique as the boxes automatically reconfigure themselves depending on the width!