Hover Overlay Rolling top

Developer
Size
2,568 Kb
Views
16,192

How do I make an hover overlay rolling top?

What is a hover overlay rolling top? How do you make a hover overlay rolling top? This script and codes were developed by Stepan Soroka on 06 November 2022, Sunday.

Hover Overlay Rolling top Previews

Hover Overlay Rolling top - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Hover Overlay Rolling top</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ /*========================*/
/* Default styles
/*========================*/
section {	font-family: Tahoma;	display: flex;	justify-content: center;	align-items: center;	height: 100vh;	width: 100%;	background-color: #ececec;
}
.box {	height: 280px;	display: table;	overflow: hidden;	position: relative;
}
.box img {	height: 100%;
}
.box .hover-box-bg {	transition: 0.3s;	display: table;	width: 100%;	opacity: 0.8;	position: absolute;	z-index: 10;	height: 100%;	top: -280px;	background-color: #fff;
}
.box .hover-box {	display: table;	width: inherit;	height: 280px;	width: 100%;	position: absolute;	z-index: 20;	top: 280px;	transition: 0.3s;
}
.box:hover .hover-box,
.box:hover .hover-box-bg {	top: 0;
}
.box .hover-box p {	text-align: center;	display: table-cell;	vertical-align: middle;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <section>	<div class="box">	<img src="//source.unsplash.com/random" alt="" />	<div class="hover-box">	<p>description</p>	</div>	<div class="hover-box-bg"></div>	</div>
</section> <script src="js/index.js"></script>
</body>
</html>

Hover Overlay Rolling top - Script Codes CSS Codes

/*========================*/
/* Default styles
/*========================*/
section {	font-family: Tahoma;	display: flex;	justify-content: center;	align-items: center;	height: 100vh;	width: 100%;	background-color: #ececec;
}
.box {	height: 280px;	display: table;	overflow: hidden;	position: relative;
}
.box img {	height: 100%;
}
.box .hover-box-bg {	transition: 0.3s;	display: table;	width: 100%;	opacity: 0.8;	position: absolute;	z-index: 10;	height: 100%;	top: -280px;	background-color: #fff;
}
.box .hover-box {	display: table;	width: inherit;	height: 280px;	width: 100%;	position: absolute;	z-index: 20;	top: 280px;	transition: 0.3s;
}
.box:hover .hover-box,
.box:hover .hover-box-bg {	top: 0;
}
.box .hover-box p {	text-align: center;	display: table-cell;	vertical-align: middle;
}

Hover Overlay Rolling top - Script Codes JS Codes

/*	I must do same hover effect as here:	https://0.s3.envato.com/files/54173789/index.html	[ Overlay Rolling(top), Pop Up Position: y-reverse ]
*/
Hover Overlay Rolling top - Script Codes
Hover Overlay Rolling top - Script Codes
Home Page Home
Developer Stepan Soroka
Username uppermanis
Uploaded November 06, 2022
Rating 3
Size 2,568 Kb
Views 16,192
Do you need developer help for Hover Overlay Rolling top?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Stepan Soroka (uppermanis) Script Codes
Create amazing web content with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!