li { position: relative; float: left; width: 12.5%; height: 61px; line-height: 61px;} .box880_-8715 .nav > li > a { position: relative; display: block; text-align: center; } .box880_-8715 .nav > li > a:hover, .box880_-8715 .nav > li > a:hover .subtitle, .box880_-8715 .nav .active, .box880_-8715 .nav .active .subtitle { color: #52b9a6; } .box880_-8715 .nav > li > a:after { position: absolute; bottom: 5px; left: 40%; width: 100px; height: 3px; margin-left: -35px; content: ''; -webkit-transition: all ease .3s; transition: all ease .3s; -webkit-transform: scale(0, 1); transform: scale(0, 1); background: #ffffff; } .box880_-8715 .nav > li > a:hover:after, .box880_-8715 .nav .active:after { -webkit-transform: scale(1, 1); transform: scale(1, 1); } .box880_-8715 .nav a span { display: block; } .box880_-8715 .nav .title { color: #fff; font-size: 19px;} .box880_-8715 .nav .subtitle { font-size: 9px; padding-top: 5px; text-transform: uppercase; color: #666; } .box880_-8715 .subnav { position: absolute; left: 52%; visibility: hidden; width: 195px; margin-left: -104px; -webkit-transition: all ease .3s; transition: all ease .3s; -webkit-transform: translateY(30px); transform: translateY(30px); opacity: 0; box-shadow: 0 3px 16px rgb(0 0 0 / 10%); top: 70px; } .box880_-8715 .nav > li:hover .subnav { visibility: visible; -webkit-transform: translateY(0); transform: translateY(0); opacity: 1; } .box880_-8715 .subnav li a { line-height: 42px; position: relative; display: block; overflow: hidden; height: 42px; padding: 0 5px 0 10px; -webkit-transition: all ease .3s; transition: all ease .3s; white-space: nowrap; text-overflow: ellipsis; color: #5a5a5a; border-bottom: 1px solid #d8d8d8; font-size: 16px; background-color: #f1efef; box-shadow: 2px 2px 17px #e0dddd; } .box880_-8715 .subnav li a:hover { padding-left: 15px; color: #fff; background: #0763ae; } .box880_-8715 .subnav li a:after { position: absolute; top: 50%; right: 10px; visibility: hidden; width: 5px; height: 10px; margin-top: -5px; content: ''; -webkit-transition: all ease .3s; transition: all ease .3s; background: url(/mFile/880/img/arrow-right.png) no-repeat center center / cover; } .box880_-8715 .subnav li a:hover:after { right: 15px; visibility: visible; }
Copyright © 諸城市峻翰環??萍加邢薰?版權所有
【網站備案號:魯ICP備18011533號-1】