Hover Overlay Rolling top
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 - 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 ]
*/
Developer | Stepan Soroka |
Username | uppermanis |
Uploaded | November 06, 2022 |
Rating | 3 |
Size | 2,568 Kb |
Views | 16,192 |
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!
Name | Size |
Link Icon Effect | 3,599 Kb |
A Pen by Stepan Soroka | 2,539 Kb |
Cleaning Company | 13,276 Kb |
Popup from one element | 4,568 Kb |
Parallax.js | 5,920 Kb |
Anmiate SVG Border | 3,040 Kb |
Modal Window | 3,409 Kb |
React.js News List | 4,729 Kb |
Order elements using flex | 2,921 Kb |
Animate transform rotate | 2,903 Kb |
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!
Name | Username | Size |
Flower expansion | Sreucherand | 3,425 Kb |
CSS Grid Overlay | Cliffpyles | 3,090 Kb |
A simple log in form made with css | Mayurelbhar | 2,160 Kb |
A Pen by tugce | Ecgutcnkr | 4,197 Kb |
Pure CSS Tooltip | APinix | 2,815 Kb |
Wave Lines | Mikehobizal | 4,023 Kb |
Border image | JohnRiordan | 2,120 Kb |
Count up | Alanshortis | 2,391 Kb |
Expert Help | SinceSidSlid | 4,064 Kb |
Parallax with only CSS | Thulioph | 2,297 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!