移动图标位置切换图标
.imgest{ width:20px; height:20px; overflow:hidden; background: rgb(185, 47, 47); margin: 500px; } .imgest:hover img{ transform: translateX(-76px); /* filter: drop-shadow(#66ccff 0 50px); */ }
改变路径切换图标
.pic{ background: url(“images/1.png”); width: 112px; height:46px; } .pic:hover{ background: url(“images/logo.png”) ;