阅读背景:

如何在悬停时向不同的div元素添加不同的背景图像?

来源:互联网 

I have several div elements aligned in a grid. I want them to have their specific different background images when the user hovers over them which disappear when the mouse leaves the div. Basically it's a users information page where every square has the data of a user. When people hover over the squares, the users' images appear as background images. Here's the HTML:I have several div elements aligned in a grid.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: