📜  悬停时更改 img - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:02.134000             🧑  作者: Mango

代码示例1
#Library {
   background-image: url('LibraryTransparent.png');
   height: 70px;
   width: 120px;
}

#Library:hover {
   background-image: url('LibraryHoverTrans.png');
}