gpt4 book ai didi

CSS3 过渡在 Firefox 中不起作用

转载 作者:行者123 更新时间:2023-11-28 18:40:54 27 4
gpt4 key购买 nike

<分区>

Possible Duplicate:
CSS3 transition of background-image for Firefox not working

第一次发帖。我已经研究过并且似乎已经接近找到答案,但也许我只是感到沮丧。

我无法让背景图片的缓入缓出 CSS3 过渡在 FF 中工作,但它在 Chrome 中工作。

这是我通过 jsFiddle 编写的代码:http://jsfiddle.net/hWnf4/

HTML:

<a href="http://example.com" title="" id="logo">
<span id="logoimg"></span></a>​

CSS:

#logo {display:inline-block; padding-top:22px; text-decoration:none;font-family:'YanoneKaffeesatzRegular',"Helvetica", Arial, sans-serif;font-size:3em;margin-bottom:18px;}
#logo:link, #logo:visited {color:#fff;}
#logo:hover, #logo:active {color:#ccc;}
#logoimg {display:inline-block; width:405px; height:220px; background:url('http://www.webdesign-guru.co.uk/icon/wp-content/uploads/black-round-glassy.gif') no-repeat; transition: background .25s ease-in-out; -moz-transition: background .25s ease-in-out; -webkit-transition: background .25s ease-in-out;}
#logoimg:hover {background:url('http://www.webdesign-guru.co.uk/icon/wp-content/uploads/green-round-glassy-button.gif') no-repeat;}​

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com