"Buttons.Css - Project"
Bootstrap 3.0.0 Snippet by badrrehman

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
<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 ---------->
<!DOCTYPE html>
<html>
<head>
<title>BUTTONS.CSS</title>
<link rel="stylesheet" type="text/css" href="buttons.css">
<link rel="stylesheet" type="text/css" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css
">
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<style type="text/css">
body{
background-color: #595959;
color:#fff;
}
</style>
</head>
<body>
<section>
<div style="padding: 70px;" class="cont-bg">
<div style="margin-top: 40px;" class="container">
<div class="row">
<div class="col-md-4 col-sm-4 col-xs-12">
<center>
<a href="#" class="butn butn-backfill butn-lrg">Button</a>
</center>
</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
.butn {
flex: 1 1 auto;
margin: 10px;
padding: 10px;
text-align: center;
background-size: 200% auto;
color: black;
border-radius: 0px;
background-color:transparent;
}
/* button back fill*/
.butn-Button {
color:#000;
transition: all 1s ease;
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-o-transition: all 1s ease;
}
.butn-Button:hover,
.butn-Button:focus,
.butn-Button.focus,
.butn-Button:active,
.butn-Button.active,
.open > .dropdown-toggle.butn-Button {
border: 1px solid green;
color: green;
background-position: right center;
text-decoration:none;
background-image: linear-gradient(to right, #30B026 52%, transparent 50%);
/* button sizes here */
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: