标签hover时触发befor
当我们想要实现某一个元素触发了hover是,想要给该元素设置before或after伪元素是,语法如下:
.box:hover:before {
content: ''
}
.box:hover:after {
content: ''
}
当我们想要实现某一个元素触发了hover是,想要给该元素设置before或after伪元素是,语法如下:
.box:hover:before {
content: ''
}
.box:hover:after {
content: ''
}
回顾往昔: &nb
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M