"Shopping cart"
Bootstrap 4.0.0 Snippet by zMrSnow

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/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.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 ---------->
<script src="https://use.fontawesome.com/c560c025cf.js"></script>
<div class="container"></div>
<div class="card">
<div class="card-header bg-dark text-light">
<i class="fa fa-shopping-cart" aria-hidden="true"></i>
Nákupný košík
<a href="{{route("product.home")}}" class="btn btn-outline-info btn-sm pull-right">Pokračovať v nakupovaní</a>
<div class="clearfix"></div>
</div>
<div class="card-body">
<div class="row">
<div class="col-xs-2 col-md-2">
<img class="img-responsive" src="http://placehold.it/120x80" alt="prewiew">
</div>
<div class="col-xs-4 col-md-6">
<h4 class="product-name"><strong>Product name</strong></h4><h4><small>Product description</small></h4>
</div>
<div class="col-xs-6 col-md-4 row">
<div class="col-xs-6 col-md-6 text-right" style="padding-top: 5px">
<h6><strong>25.00 <span class="text-muted">x</span></strong></h6>
</div>
<div class="col-xs-4 col-md-4">
<input type="text" class="form-control input-sm" value="1">
</div>
<div class="col-xs-2 col-md-2">
<button type="button" class="btn btn-outline-danger btn-xs">
<i class="fa fa-trash" aria-hidden="true"></i>
</button>
</div>
</div>
</div>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
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
.quantity {
float: left;
margin-right: 15px;
background-color: #eee;
position: relative;
width: 80px;
overflow: hidden
}
.quantity input {
margin: 0;
text-align: center;
width: 15px;
height: 15px;
padding: 0;
float: right;
color: #000;
font-size: 20px;
border: 0;
outline: 0;
background-color: #F6F6F6
}
.quantity input.qty {
position: relative;
border: 0;
width: 100%;
height: 40px;
padding: 10px 25px 10px 10px;
text-align: center;
font-weight: 400;
font-size: 15px;
border-radius: 0;
background-clip: padding-box
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: