Ensured :before and :after also goes by border-box