好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

css下拉效果。怎样hover时让那个字不上升啊_html/css_WEB-ITnose

示例代码是这个 http://HdhCmsTestthibaud.be/#/style04/
自己写了一个 但是连续hover时 里面的字会上升 怎样解决?代码在下面
                           a{            text-decoration: none;            color: #333333;        }        .bar{            list-style: none;            width:200px;            height:50px;            line-height: 50px;            font: "Microsoft YaHei",tahoma,arial,Hiragino Sans GB,\5b8b\4f53;            transition:all 1s ease;            border-bottom-left-radius: 5%;            border-bottom-right-radius: 5%;        }        .bar:hover{            height:80px;        }        .bar:hover a{            transform: translate(80px,0);        }        #bar1{            background: rgba(255, 106 ,106,0.5);        }        #bar2{            background: rgba(106, 90 ,205,0.5);        }        #bar3{            background: rgba(127, 255, 0,0.5);        }        #bar4{            background: rgba(99 ,184, 255,0.5);        }        #bar5{            background: rgba(144 ,238 ,144,0.5);        }       

查看更多关于css下拉效果。怎样hover时让那个字不上升啊_html/css_WEB-ITnose的详细内容...

  阅读:30次