不管它有没有class都可以这么写: button::after{ border:none; } input{ outline:none; border:none; list-style: none; }