-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[css] 第91天 CSS的伪类和伪对象有什么不同? #758
Labels
css
css
Comments
|
伪类是给当前选中节点添加新样式, |
|
伪类是控制元素的行为(:hover, :active, :visited, :focus),当在某个行为下这个元素会呈现什么样式。 伪元素则是一个原本不存在 DOM 上的元素(::before, ::after),必须要设置 关联回答:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
第91天 CSS的伪类和伪对象有什么不同?
The text was updated successfully, but these errors were encountered: