css实现悬浮按钮点击弹出子菜单效果代码
代码语言:html
所属分类:菜单导航
代码描述:css实现悬浮按钮点击弹出子菜单效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/ionicons.min.css">
<style>
.plus {
width: 100px;
cursor: pointer;
transition: all 0.3s ease 0s;
height: 100px;
background: #ffe581;
border-radius: 50%;
display: flex;
position: relative;
}
.plus__line {
width: 6px;
height: 50px;
background: #000;
border-radius: 10px;
position: absolute;
left: calc(50% - 3px);
top: calc(50% - 25px);
}
.plus__line--h {
transform: rotate(90deg);
}
.plus__line--v {
display: flex;
align-items: center;
justify-content: space-around;
overflow: hidden;
transition: all 0.4s ease 0s;
}
.plus__link {
color: #fff;
font-size: 30px;
opacity: 0;
visibility: hidden;
transition: 0.3s ease 0s;
transform: scale(0.5);
}
.plus--active {
height: 32px;
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0