"Bootstrap gallery"
Bootstrap 4.1.1 Snippet by Reason706

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.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/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 lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>Bootstrap gallery</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.10.1/css/all.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/MaterialDesign-Webfont/4.4.95/css/materialdesignicons.css">
<!-- Custom styles for this template -->
<link href="css/gallery.css" rel="stylesheet">
</head>
<body>
<!-- Page Content -->
<div class="container gallery">
<div class="row p-2">
<!--GALLERY OPTION START-->
<div class="col-md-12 mt-3 mb-1 gallery-option">
<div class="option-left">
<a class="gallery-option-item" href="">ALL</a>
<a class="gallery-option-item" href="">IMAGES</a>
<a class="gallery-option-item" href="">AUDIO</a>
<a class="gallery-option-item" href="">VIDEO</a>
<a class="gallery-option-item" href="">DOCUMENTS</a>
</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
body{
margin:30px;
padding:20px;
}
.row , .container{
padding: 0px !important;
margin: 0px !important;
}
.gallery{
box-shadow: 1px 1px 8px 2px #eee;
}
.gallery-content{
background-color: #fbfbfb ;
border: 2px solid #F5F3F3;
border-left: none;
border-right: none;
/*padding: 10px;*/
}
.gallery-option{
display: inline-flex;
/*flex-direction: column;*/
justify-content: space-between;
padding:0px 10px;
}
.gallery-option-item{
color: #494949;
font-size: 1rem;
font-weight: 600;
padding: 0 10px;
margin: 0 2px;
/* text-decoration: none;*/
border-bottom: 2px transparent solid;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: