Why is a pseudo-class so called?

前端 未结 5 584
甜味超标
甜味超标 2020-12-11 04:45
a:hover

Why is it called a \"pseudo-class\"?

Are there any similarities with the concept of \"class\"?

5条回答
  •  一个人的身影
    2020-12-11 05:02

    It's pseudo because you didn't make it; the browser 'created' it and allows you to set it to change the look of the link when it's in that state.

提交回复
热议问题