Skip to content
New issue

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

css3 unset属性 #139

Open
GleanCoder1116 opened this issue Oct 12, 2021 · 0 comments
Open

css3 unset属性 #139

GleanCoder1116 opened this issue Oct 12, 2021 · 0 comments
Labels
css css

Comments

@GleanCoder1116
Copy link
Member

unset 关键字我们可以理解为不设置,其实,它是关键字initial和inherit的组合。

当我们给一个css属性设置了unset的话:

1,如果该属性默认继承属性,该值等同于inherit

2,如果该属性是非继承属性,该值等同于initial

@GleanCoder1116 GleanCoder1116 added the css css label Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css css
Projects
None yet
Development

No branches or pull requests

1 participant