TweenMax实现按钮悬浮弹出选项卡菜单效果代码

代码语言:html

所属分类:菜单导航

代码描述:TweenMax实现按钮悬浮弹出选项卡菜单效果代码

代码标签: TweenMax 菜单 选项卡

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <style>
        body,html {
    	height:100%;
    }
    body {
    	display:flex;
    	justify-content:center;
    	align-items:center;
    	font-family:sans-serif;
    	font-weight:bold;
    	background:linear-gradient(330deg,#a63cf0 40%,#7971ff 100%);
    	overflow:hidden;
    	font-size:14px;
    	flex-direction:column;
    }
    ul {
    	list-style-type:none;
    	background:white;
    	padding:15px 25px;
    	display:block;
    	border-radius:60px;
    }
    li {
    	display:inline-block;
    	margin:0px 15px;
    }
    a {
    	text-decoration:none;
    	color:#9e61f3;
    	display:inline-block;
    	text-align:center;
    }
    svg {
    	width:32px;
    	height:32px;
    	display:block;
    	margin:8px auto;
    	fill:#e6ddfd;
    	transition:0.2s ease-in all;
    }
    .menu-btn {
    	position:relative;
    	border-radius:50%;
    	width:80px;
    	height:80px;
    	background:white;
    	bor.........完整代码请登录后点击上方下载按钮下载查看

网友评论0