CSS 3背景图像转换我正在尝试使用css转换来产生“淡入淡出”效果。但我不能让它和背景图像一起工作.。CSS:.title a {
display: block;
width: 340px;
height: 338px;
color: black;
background: transparent;
/* TRANSITION */
-webkit-transition: background 1s;
-moz-transition: background 1s;
-o-transition: background 1s;
transition: background 1s;}.title a:hover {
background: transparent;
background: url(https://lh3.googleusercontent.com/-p1nr1fkWKUo/T0zUp5CLO3I/AAAAAAAAAWg/jDiQ0cUBuKA/s800/red-pattern.png) repeat;
/* TRANSITION */
-webkit-transition: background 1s;
-moz-transition: background 1s;
-o-transition: background 1s;
transition: background 1s;}看一看:http://jsfiddle.net/AK3La/
3 回答
- 3 回答
- 0 关注
- 482 浏览
相关问题推荐
添加回答
举报
0/150
提交
取消