其实想象很美好,index中需要一个视频在页面最上面播放。然后是3个锚点链接,需要鼠标经过图标,背景变化为对应的图片。有没有大佬给码(ㅇㅅㅇ❀)
要鼠标经过图标,背景变化为对应的图片 用css的:hover伪类
参考
http://www.divcss5.com/jiqiao/j620.shtml
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>a背景改变</title>
<style>
.divcss5-def a{ color:#000; padding:10px 10px; line-height:30px}/* css注释说明:超链接颜色为黑色 */
.divcss5-def a:hover{color:#FFF; background:url(bj.gif) no-repeat center}
/* css 注释说明:鼠标经过悬停超链接时字体颜色为白色,背景为图片*/
</style>
</head>
<body>
<div class="divcss5-def">
欢迎来到<a href="http://www.divcss5.com/">divcss5</a>
</div>
</body>
</html>
如有帮助,请点击我的回答下方的【采纳该答案】按钮帮忙采纳下,谢谢!