div+css实现悬浮按钮点击伸缩子菜单圆圈效果代码
代码语言:html
所属分类:菜单导航
代码描述:div+css实现悬浮按钮点击伸缩子菜单圆圈效果代码
代码标签: div 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/all.6.4.0.css">
<style>
html {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
box-sizing: border-box;
font-size: 62.5%;
}
html * {
box-sizing: inherit;
}
body {
background-color: #293238;
display: grid;
font-family: sans-serif;
font-size: 1.6rem;
min-height: 100vh;
place-content: center;
position: relative;
}
body::before {
background-color: #293238;
content: "";
height: 100%;
left: 0;
opacity: 0.8;
position: absolute;
top: 0;
width: 100%;
z-index: 0;
}
.buttons {
position: relative;
z-index: 1;
}
.buttons--active .buttons__ctas {
transform: translate(-50%, -50%) rotate(0deg);
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0