content logo

Bootstrap Thumbnails:

Bootstrap Image Thumbnails with Rotation and Hover Effects

If you are looking for a Dynamic Thumbnails Code, carefully pay attention to this post. You probably have seen many image thumbnails in advanced websites that you can go to other pages by clicking on them. The Bootstrap Image Thumbnails with Rotation and Hover Effects are presented here with the same purpose. This Pure CSS Thumbnail Code has a great performance, and you can apply it to your website. To improve your website and attract new visitors, use the following HTML Thumbnail Code.

We have prepared the preview of this code below, and you can grasp its uniqueness. This Bootstrap Image Thumbnail has a gray theme before choosing. As soon as you place the cursor of the mouse and select a section, its background changes to blue with an animating effect. This color appears from left to right, and there is a search icon in the middle of the page. The mentioned icon has a white color and displays a little after its background. When you take the mouse, the blue color is removed from right to left. This Thumbnail with Blue Effect is a great idea for websites with a blue theme. Therefore, you can use this code if you have a blue theme website.

#

Dynamic Thumbnails Code

#

Pure CSS Thumbnail Code

#

Thumbnail with Blue Effect

#

HTML Thumbnail Code

#

Bootstrap Image Thumbnail

<!-- This script got from frontendfreecode.com -->
<div class="containerm">
    <div class="row">
        <div class="col-md-4 col-sm-6">
            <div class="image"> <img src="https://i.imgur.com/GV2rUU0.jpg" alt=""> <i class="fa fa-search fa-3x"></i> </div>
        </div>
        <div class="col-md-4 col-sm-6">
            <div class="image"> <img src="https://i.imgur.com/MMfaOcL.jpg" alt=""> <i class="fa fa-search fa-3x"></i> </div>
        </div>
        <div class="col-md-4 col-sm-6">
            <div class="image"> <img src="https://i.imgur.com/nOeI05p.jpg" alt=""> <i class="fa fa-search fa-3x"></i> </div>
        </div>
    </div>
</div><a style="font-size: 8pt; text-decoration: none" target="_blank" href="http://frontendfreecode.com">Free Frontend</a>
                                                                            
body {
    background-color: #efefef
}
.containerm {
    min-height: 100vh;
    overflow: hidden;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center
}
.image {
    margin:10px!important;
    overflow: hidden;
    height: 300px;
    width: 300px;
    position: relative;
    cursor: pointer;
    margin: 0 15px;
    box-shadow: 0 0 25px 1px rgba(0, 0, 0, .3);
    transition: .5s;
    background-color: #555
}
.image:after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-140%, -50%);
    background-color: blue;
    opacity: 0.8;
    border-radius: 50%;
    transition: .8s
}
.image:hover:after {
    transform: translate(-50%, -50%)
}
.image:hover img {
    transform: translate(-50%, -50%) scale(1.3) rotate(20deg)
}
img {
    position: absolute;
    height: 110%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .8s
}
i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-2000px, -50%);
    color: #fff;
    transition: .8s;
    transition-timing-function: ease-in
}
.image:hover i {
    transform: translate(-50%, -50%);
    transition-timing-function: ease
}
<link href='https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css' rel='stylesheet'>
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css' rel='stylesheet'>
<script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
<script type='text/javascript' src='https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.bundle.min.js'></script>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<!-- This script got from frontendfreecode.com -->

<link href='https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css' rel='stylesheet'>
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css' rel='stylesheet'>
<script type='text/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js'></script>
<script type='text/javascript' src='https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.bundle.min.js'></script>
<style>
body {
    background-color: #efefef
}
.containerm {
    min-height: 100vh;
    overflow: hidden;
    width: 100%;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center
}
.image {
    margin:10px!important;
    overflow: hidden;
    height: 300px;
    width: 300px;
    position: relative;
    cursor: pointer;
    margin: 0 15px;
    box-shadow: 0 0 25px 1px rgba(0, 0, 0, .3);
    transition: .5s;
    background-color: #555
}
.image:after {
    content: '';
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translate(-140%, -50%);
    background-color: blue;
    opacity: 0.8;
    border-radius: 50%;
    transition: .8s
}
.image:hover:after {
    transform: translate(-50%, -50%)
}
.image:hover img {
    transform: translate(-50%, -50%) scale(1.3) rotate(20deg)
}
img {
    position: absolute;
    height: 110%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .8s
}
i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-2000px, -50%);
    color: #fff;
    transition: .8s;
    transition-timing-function: ease-in
}
.image:hover i {
    transform: translate(-50%, -50%);
    transition-timing-function: ease
}
</style>

</head>
<body>
<div class="containerm">
    <div class="row">
        <div class="col-md-4 col-sm-6">
            <div class="image"> <img src="https://i.imgur.com/GV2rUU0.jpg" alt=""> <i class="fa fa-search fa-3x"></i> </div>
        </div>
        <div class="col-md-4 col-sm-6">
            <div class="image"> <img src="https://i.imgur.com/MMfaOcL.jpg" alt=""> <i class="fa fa-search fa-3x"></i> </div>
        </div>
        <div class="col-md-4 col-sm-6">
            <div class="image"> <img src="https://i.imgur.com/nOeI05p.jpg" alt=""> <i class="fa fa-search fa-3x"></i> </div>
        </div>
    </div>
</div><div id="bcl"><a style="font-size:8pt;text-decoration:none;" href="http://www.devanswer.com">Free Frontend</a></div>

</body>
</html>
Preview