-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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新增伪类有那些? 这里有些不准确的地方 #86
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
:after和:before 是伪元素,并非伪类。
区别:伪类的效果可以通过添加一个实际的类来达到,而伪元素的效果则需要通过添加一个实际的元素才能达到,这也是为什么他们一个称为伪类,一个称为伪元素的原因。
The text was updated successfully, but these errors were encountered: