We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.hidden { display: none !important; }
而不是被动等问题发生后,用来取巧, 如:
<div class="content"> <h2 class="heading-sub">...</h2> </div>
.content h2 { font-size: 2em; } .heading-sub { font-size: 1.5em !important; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
“!important”只能主动使用,不能被动使用。
我们主动命名一些公共样式时,为了保证不被意外内容覆盖,可以使用"!important", 如:
而不是被动等问题发生后,用来取巧, 如:
The text was updated successfully, but these errors were encountered: