Applied border-box to :before and :after