嘿大家...我想知道为什么这行不通?
.right-article.boy {
background: transparent url(../images/boxes-bg/boy.jpg) left top no-repeat;
width: 413px;
height: 242px;
-webkit-transition: background 1.5s linear;
-moz-transition: background 1.5s linear;
transition: background 1.5s linear;
}
.right-article.boy:hover {
background: transparent url(../images/boxes-bg/boy-hover.jpg) left top no-repeat;
}
如果我将背景更改为黄色和悬停黑色等颜色,它可以正常工作....但不是我的图像?