本文实例为大家分享了js+css实现扇形导航效果的具体代码,供大家参考,具体内容如下
扇形导航 *{ margin: 0; padding: 0; } html,body{ height: 100%; overflow: hidden; } #wrap{ height: 50px; width: 50px; position: fixed; right: 15px; bottom: 15px; } #wrap>.home{ height: 49px; width: 49px; background: url(img/home.png) ; background-position: center; border-radius: 50%; transition: 1s; position: absolute; z-index: 1; } #wrap>.nav{ height: 100%; position: relative; } #wrap>.nav>img{ position: absolute ; right: 0px; bottom: 0px; margin: 4px; border-radius: 50% ; } .home:hover{ transform: rotate(360); }
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持考高分网。



