"Visa credit card design in bootstrap"
Bootstrap 3.3.0 Snippet by open snippets

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="//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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<div class="container">
<div class="col-md-4 col-md-offset-4">
<div class="credit-card">
<i class="fa fa-cc-visa fa-5x" aria-hidden="true"></i>
<h2>
3453 **** **** 0001
</h2>
<div class="row">
<div class="col-sm-6">
<small>
<strong>Expiry date:</strong> 05/23
</small>
</div>
<div class="col-sm-6 text-right">
<small>
<strong>Name:</strong><a href="http://opensnippets.com" target="_blank">open snippet</a>
</small>
</div>
</div>
</div>
</div>
</div>
<br><br>
<div class="container">
<div class="text-center">
<a href="http://opensnippets.com" target="_blank" class="btn btn-primary">More snippets</a>
</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
@import url('https://fonts.googleapis.com/css?family=Major+Mono+Display');
body{
background: #EC6F66;
background: -webkit-linear-gradient(to right, #F3A183, #EC6F66);
background: linear-gradient(to right, #F3A183, #EC6F66);
font-family: 'Major Mono Display', monospace !important;
font-weight: 400;
}
h2{
font-size: 20px !important;
}
.small, small {
font-size: 72% !important;
}
i{
font-size: 50px;
color: #EC6F66;
color: -webkit-linear-gradient(to right, #F3A183, #EC6F66);
color: linear-gradient(to right, #F3A183, #EC6F66);
}
.credit-card{
background: #fff;
padding: 25px;
border-radius: 5px;
margin-top: 15rem;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: