Bootstrap snippet and html example. Tablet style rollover portfolio

This html snippet was created to help web designers, web developers, front-end and back-end developer save time. Use it for free in your project and build your app faster, You can also download the HTML, CSS, and JS code.
Tags: Table style,portfolio,roolover,responsive,bootstrap grid,bootstrap 4.3

HTML code

This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 4.3.1 included, to get the result that you can see in the preview selection

<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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->

<h1 class="text-center py-5"><span>P</span>ortfolio<span>.</span></h1> 
<div class="container-fluid">
    <div class="container d-flex align-items-center justify-content-center">
        <article class="portfolio-item device tablet left flex-order-tablet_0 responsive-design video-design device-list">
            <div class="device-hardware">
    			<a class="hover-trigger" href="https://www.fiverr.com/sunlimetech" target="_blank">
					<span class="device-screen" style="background-image: url(https://sunlimetech.com/portfolio/tabletstyleportfolio/imgs/sunlimetechwebdevelopmentfiverr.png);">
						<span class="hover-name">Hire Sunlimetech on Fiverr</span>
					</span>
					<i class="hover-icon fa fa-external-link"></i>
				</a>
            </div>
        </article>
		
		<article class="portfolio-item device tablet left flex-order-tablet_0 responsive-design video-design device-list">
            <div class="device-hardware">
				<a class="hover-trigger" href="https://www.fiverr.com/sunlimetech/design-and-fix-your-bootstrap-4-issues" target="_blank">
					<span class="device-screen" style="background-image: url(https://sunlimetech.com/portfolio/tabletstyleportfolio/imgs/sunlimetechbootstrapexpert.png);">
						<span class="hover-name">Contact Sunlimetech</span>
					</span>
					<i class="hover-icon fa fa-external-link"></i>
				</a>
            </div>
        </article>
    </div>
</div>

CSS code

This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 4.3.1 included, to get the result that you can see in the preview selection

@import url('https://fonts.googleapis.com/css?family=Tajawal');
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
h1 span{
    color: #7f01c7;
}
.device {
    margin: 0;
	position: relative;
	display: inline-block;
	width: 45%;
}
.device.tablet .device-hardware {
	background-image: url(https://cdn.pbhs-sites.com/wp-content/plugins/pbhs-portfolio/_media/images/tablet-lg.webp);
	background-size: 100% auto;
	background-repeat: no-repeat;
	display: block;
	position: relative;
	padding-bottom: 91.3%;
}
.device.tablet .device-screen {
	top: 9.5%;
	bottom: 35.5%;
	left: 12.5%;
	right: 11.5%;
	border-radius: 1px;
	background-size: 122% auto;
	background-position-x: 50%;
	background-position-y: 0%;
	position: absolute;
	background-size: 100% auto;
	background-repeat: no-repeat;
	display: block;
	-webkit-transition: background-position .4s;
	-moz-transition: background-position .4s;
	-o-transition: background-position .4s;
	transition: background-position .4s;
	background-color: #565656;
	overflow: hidden;
}
.device.tablet .hover-trigger:hover .device-screen{
	background-position-y: 50%;
}
.device .hover-name {
	background-color: #7f01c7;
	color: #efefef;
	position: absolute;
	font-size: 13px;
	font-weight: 600;
	line-height: 100%;
	padding: 12px 6px;
	top: -50px;
	text-transform: uppercase;
	text-align: center;
	display: block;
	left: 0;
	right: 0;
	width: 100%;
	-webkit-transition: top .4s;
	-moz-transition: top .4s;
	-o-transition: top .4s;
	transition: top .4s;
	font-family: montserrat,Helvetica,Arial,sans-serif;
}
.device.tablet .hover-trigger:hover .hover-name{
	top:-1px;
}
.device .hover-icon {
	position: absolute;
	left: 50%;
	margin-left: -35px;
	top: 30%;
	color: rgba(255,255,255,.8);
	background-color: rgba(255,255,255,.3);
	width: 70px;
	text-align: center;
	line-height: 70px;
	font-size: 30px;
	height: 70px;
	border-radius: 100%;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
	opacity: 0;
	-webkit-transform: scale(1.5);
	-moz-transform: scale(1.5);
	-o-transform: scale(1.5);
	-ms-transform: scale(1.5);
	transform: scale(1.5);
}
.device.tablet.device-list .hover-trigger:hover .hover-icon{
	opacity: 1;
	-webkit-transform: scale(1);
	-moz-transform:scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}
@media (max-width: 991px){
	.device {
		width: 45%;
	}
	.flex-order-tablet_0 {
		order: 0;
		-ms-flex-order: 0;
		-webkit-order:0;
		-moz-box-ordinal-group: 0;
		-ms-box-ordinal-group: 0;
		-webkit-box-ordinal-group: 0;
	}
}
@media (max-width: 767px){
	 .device {
		width: 95%;
	}
}

Similar snippets

Bootstrap example and template. portfolio 3 column with name

portfolio 3 column with name

Bootstrap example and template. bs4 simple portfolio

bs4 simple portfolio

Bootstrap example and template. portfolio with category filter using isotope js

portfolio with category filter using isotope js

Bootstrap example and template. bs4 sevices page

bs4 sevices page

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. Shop Order Tracking

Shop Order Tracking

Bootstrap example and template. bs4 header with particles js

bs4 header with particles js

Bootstrap example and template. about me

about me

Bootstrap example and template. Tablet style rollover portfolio

About this bootstrap example/template

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This code example currectly have 923 views, Using this bootstrap snippet you have the following benefits:

Bootstrap 4.3.1

<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>

<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>

This code example is based on bootstrap 4.3.1 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working