"Bootstrap square buttons"
Bootstrap 3.3.0 Snippet by AthenaHunag

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
<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 ---------->
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<div class="container">
<div class="row">
<div class="col-lg-3"> </div>
<div class="col-lg-2">
<a href="#" class="btn btn-sq-lg btn-success">
<i class="fa fa-4x fa-cog"></i><br/>
<font size="4"></font>
</a>
</div>
<div class="col-lg-1"> </div>
<div class="col-lg-2">
<a href="#" class="btn btn-sq-lg btn-success">
<i class="fa fa-4x fa-rub"></i><br/>
<font size="4"> <br></font>
</a>
</div>
<div class="col-lg-3"> </div>
</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
body{
margin: 100px;
}
.btn-sq-lg {
width: 150px !important;
height: 150px !important;
}
.btn-sq {
width: 100px !important;
height: 100px !important;
font-size: 10px;
}
.btn-sq-sm {
width: 50px !important;
height: 50px !important;
font-size: 10px;
}
.btn-sq-xs {
width: 25px !important;
height: 25px !important;
padding:2px;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: