JS复习:伪类选择器
Copyright Notice: This article is an original work licensed under the CC 4.0 BY-NC-ND license.
If you wish to repost this article, please include the original source link and this copyright notice.
Source link: https://v2know.com/article/931
JS复习:伪类选择器
CSS代码:
<style>
a:hover {
color: red;
}
</style>
HTML代码:
<a href="#">鼠标悬停时变红色</a>
论外:
This article was last edited at 2023-05-10 06:38:50