Path menu in pure CSS3
No JavaScript allowed From: https://github.com/victa/path-menu
by danielfilho
HTML
<input type="checkbox" id="menu" class="menuControl" checked="checked">
<label for="menu">
<div class="circle-container">
<button class="circle">✖</button>
</div>
</label>
<ul class="items">
<li>★</li>
<li>★</li>
<li>★</li>
<li>★</li>
<li>★</li>
<li>★</li>
</ul>
CSS
body {
background: #ccc;
font: 13px/18px "Helvetica Neue", Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
font-weight: 400;
color: #333;
text-shadow: 0 1px 0 white;
}
#main {
width: 600px;
margin: 12px 0 0 300px;
}
h1, h2 {
font-size: 24px;
margin-bottom: 16px;
color: #3A3A3A;
line-height: 1.4;
font-weight: bold;
}
h2 {
font-size: 16px;
padding-top: 8px;
}
p, h2 {
margin-bottom: 8px;
}
p:last-of-type {
margin-top: -6px;
}
small {
font-size: 86.7%;
color: #9C9A9A;
}
hr {
height: 0px;
border: 0px;
border-top: 1px solid #CCC;
border-bottom: 1px solid white;
background: transparent;
margin: 24px 0;
}
a, a:visited {
color: #84B9D3;
font-weight: bold;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
strong {
font-weight: bold;
}
#menu {
display: none;
}
#menu:checked ~ label .circle {
-moz-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
-o-transform: rotate(0deg);
-ms-transform: rotate(0deg);
transform: rotate(0deg);
}
.circle-container {
position: fixed;
bottom: 10px;
left: 10px;
height: 40px;
width: 40px;
-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
-o-box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
-moz-border-radius: 20px;
-webkit-border-radius: 20px;
-o-border-radius: 20px;
-ms-border-radius: 20px;
-khtml-border-radius: 20px;
border-radius: 20px;
}
.circle-container .circle {
position: fixed;
bottom: 10px;
left: 10px;
height: 40px;
width: 40px;
cursor: pointer;
z-index: 2;
border: 0px;
font-size: 30px;
line-height: 40px;
text-align: center;
color: white;
padding: 0px;
-moz-transition: all 0.2s linear;
-webkit-transition: all 0.2s...