代码拉取完成,页面将自动刷新
同步操作将从 木兰君/前端页面效果合集 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body {
font-family: "Dosis", sans-serif;
text-align: center;
}
#menu {
width: 150px;
height: 150px;
position: absolute;
left: 50%;
top: 50%;
margin: -75px 0 0 -75px;
list-style: none;
font-size: 200%;
}
.menu-button {
opacity: 0;
z-index: -1;
}
.menu-button {
width: 150px;
height: 150px;
position: absolute;
left: 50%;
top: 50%;
margin: -75px 0 0 -75px;
border-radius: 50%;
background: #424242;
background-size: 100%;
overflow: hidden;
text-decoration: none;
}
#menu:not(:target)>a:first-of-type,
#menu:target>a:last-of-type {
opacity: 1;
z-index: 1;
}
#menu:not(:target)>.icon-plus:before,
#menu:target>.icon-minus:before {
opacity: 1;
}
.menu-item {
width: 70px;
height: 70px;
position: absolute;
left: 55%;
line-height: 5px;
top: 50%;
margin: -50px 0 0 -50px;
border-radius: 50%;
background-color: #424242;
transform: translate(0px, 0px);
transition: transform 500ms;
z-index: -2;
transition: .5s;
}
.menu-item:hover {
opacity: 0.5;
box-shadow: 0 5px 10px black;
}
.menu-item a {
color: #fff;
position: relative;
top: 30%;
left: 0;
text-decoration: none;
}
#menu:target>.menu-item:nth-child(6) {
transform: rotate(60deg) translateY(-150px) rotate(300deg);
transition-delay: 0s;
}
#menu:target>.menu-item:nth-child(5) {
transform: rotate(20deg) translateY(-155px) rotate(-20deg);
transition-delay: 0.1s;
}
#menu:target>.menu-item:nth-child(3) {
transform: rotate(-20deg) translateY(-155px) rotate(20deg);
transition-delay: 0.2s;
}
#menu:target>.menu-item:nth-child(4) {
transform: rotate(-60deg) translateY(-150px) rotate(60deg);
transition-delay: 0.3s;
}
.content {
position: absolute;
text-align: center;
margin: -10px 0 0 -30px;
top: 70%;
left: 50%;
font-size: 20px;
}
</style>
</head>
<body>
<div class="container">
<ul id="menu">
<a class="menu-button icon-plus" href="#menu" title="Show navigation"></a>
<a class="menu-button icon-minus" href="#0" title="Hide navigation"></a>
<li class="menu-item">
<a href="#menu">
<span class="fa fa-github"></span>
</a>
</li>
<li class="menu-item">
<a href="#menu">
<span class="fa fa-linkedin"></span>
</a>
</li>
<li class="menu-item">
<a href="#menu">
<span class="fa fa-instagram"></span>
</a>
</li>
<li class="menu-item">
<a href="#menu">
<span class="fa fa-twitter"></span>
</a>
</li>
</ul>
<div class="content">
<div class="text">
<h3> Click circle!</h3>
<h6>Tada...!</h6>
</div>
</div>
</div>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。