"3D Buttons - CSS "
Bootstrap 3.3.0 Snippet by rasheedbhutto

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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="container">
<div class="row">
<span class="btn btn-small submit">Submit</span>
<span class="btn btn-small submit">Go!</span>
<span class="btn btn-small submit">Search</span>
<span class="btn btn-small submit">No</span>
<span class="btn btn-small submit">Maybe</span>
</div>
<div class="row">
<span class="btn btn-medium info">Cancel</span>
<span class="btn btn-medium info">Clear</span>
<span class="btn btn-medium info">Yes</span>
</div>
<div class="row">
<span class="btn btn-large cancel">Big Ole Button</span>
</div>
</div>
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
/* Keep everything the same */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font: bold 14px Arial, sans-serif;
}
/* So the background is not so plain */
html {
height: 100%;
background: white;
background: radial-gradient(circle, #fff 20%, #ccc);
background-size: cover;
}
.container {
width:425px;
height:auto;
margin: 100px auto 0;
display: block;
}
.row {
display:block;
width:100%;
min-height:75px;
height:auto;
}
.btn {
float: left;
position: relative;
top: 0;
cursor: pointer;
background: white;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: