•     2019            

    2019

          

    内容介绍

        
  •      $(function(){ $("ul li").hover(function(){   $(this).find('.time').slideDown(500); },function(){   $(this).find('.time').slideUp(500); }) }) `

    CSS代码:

    `*{margin:0;padding:0;}
    ul{
    list-style: none;
    }
    .container{
    height: 162px;
    background: url('../images/ico9.gif') repeat-x center;
    }
    .container li{
    float:left;
    background: url('../images/ico10.gif') no-repeat center top;
    width:140px;
    text-align: center;
    margin-top: 65px;
    position: relative;
    padding-top:30px;
    font-size:12px;
    }
    .time{
    position: absolute;
    width:100%;
    left:0;
    top:-20px;
    display: none;
    }
    .time h2{
    background: url('../images/ico11.gif') no-repeat center top;
    height: 67px;
    line-height: 67px;
    font-size:16px;
    }
    .time p{
    color:#999;
    font-size:14px;
    }`

    关于“jQuery中怎么实现鼠标滑过横向时间轴样式”这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。

    另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


    网页题目:jQuery中怎么实现鼠标滑过横向时间轴样式-创新互联
    文章URL:http://tjjierui.cn/article/ccdppg.html