"button nav"
Bootstrap 3.0.0 Snippet by evarevirus

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class='menu closed'>
<div class='messages button'></div>
<div class='music button'></div>
<div class='home button'></div>
<div class='places button'></div>
<div class='bookmark button'></div>
<div class='main button'>Menu</div>
</div>
<script>
$(".menu").mousedown(function(){
$(this).toggleClass("closed");
if($(this).hasClass("closed")) {
$(".main.button").text("Menu");
} else {
$(".main.button").text("Close");
}
})
</script>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
@import "https://fonts.googleapis.com/css?family=Alegreya+Sans:400,500";
html {
background: #f8f7f2;
}
.menu, .button {
width: 100px;
height: 100px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.menu {
position: fixed;
top: 50px;
left: 50px;
-webkit-transition: -webkit-transform 1.125s cubic-bezier(0.39, 1.52, 0.46, 0.92);
transition: -webkit-transform 1.125s cubic-bezier(0.39, 1.52, 0.46, 0.92);
transition: transform 1.125s cubic-bezier(0.39, 1.52, 0.46, 0.92);
transition: transform 1.125s cubic-bezier(0.39, 1.52, 0.46, 0.92), -webkit-transform 1.125s cubic-bezier(0.39, 1.52, 0.46, 0.92);
-webkit-transform: scale3d(1, 1, 1);
transform: scale3d(1, 1, 1);
-webkit-transform-origin: top left;
transform-origin: top left;
cursor: pointer;
}
.button {
position: absolute;
top: 0;
left: 0;
border-radius: 50%;
mix-blend-mode: multiply;
background-position: center center;
background-repeat: no-repeat;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: