Css3仅在规模上过渡

前端之家收集整理的这篇文章主要介绍了Css3仅在规模上过渡前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我缺少一些明显的东西但只有一个元素的过渡在这里不起作用。

这是我的代码

#navigatore-servizi ul li a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 -1px 0 #008;
    display:block;
    width:240px;
    height:96px;
    background:#000;
    background-position: top center;
    line-height: 96px;
    font-family: sans-serif;
    text-transform: uppercase;
    text-align: center;
   -webkit-transition: -moz-transform .3s ease-out; 
   -moz-transition: -webkit-transform .3s ease-out; 
   -o-transition: -o-transform .3s ease-out; 
    transition: transform .3s ease-out; 
}

#navigatore-servizi ul li a:hover {
    background-position: bottom center;
   -moz-transform: scale(1.3);
   -webkit-transform: scale(1.3);
   -o-transform: scale(1.3);
   transform: scale(1.3);
    border-right: 10px solid #b00;
}

解决方法

你有你的
-webkit-transition: -moz-transform .3s ease-out; 
-moz-transition: -webkit-transform .3s ease-out;

切换。我必须假设这是问题。

原文链接:https://www.f2er.com/css/219181.html

猜你在找的CSS相关文章