Hover effect demo
How do I make an hover effect demo?
For someone needing help. What is a hover effect demo? How do you make a hover effect demo? This script and codes were developed by Rosh Jutherford on 04 September 2022, Sunday.
Hover effect demo - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Hover effect demo</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! */ html, body { background: rgb(248,248,248); width: 100%; height: 100%; font-family: "Helvetica Neue", sans-serif;
}
.item { width: 400px; height: 250px; position: relative; overflow: hidden; backface-visibility: hidden; margin: 50px auto; box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
}
.item:hover .photo, .item:hover .content{ transform: translate3d(0,-50px,0);
}
.item:hover .photo{ opacity: 0.7;
}
.item:hover a { transform: translate3d(0,0,0);
}
a { width: 50px; height: 50px; border-radius: 50%; background: rgb(170, 114, 116); position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; z-index: 1; line-height: 50px; text-align: center; color: #ffffff; transform: translate3d(0,-200px,0); transition: transform 0.25s ease; cursor: pointer;
}
.photo { dipslay: block; width: 100%; height: 100%; position: relative; float: left; background: url("https://25.media.tumblr.com/b03e53931e2264f97a3e93beae6d3053/tumblr_mtw7hple1a1st5lhmo1_1280.jpg") center center no-repeat; background-size: cover; transition: transform 0.25s ease, opacity 0.25s ease;
}
.content { width: 100%; text-align: center; float: left; height: 50px; transition: transform 0.25s ease; padding: 10px;
}
h1 { font-weight: normal; font-size: 18px;
}
p { font-weight: 100; font-size: 14px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="item"> <a>+</a> <span class="photo"></span> <div class="content"> <h1>This is the Title of the Item</h1> <p>This is a description of the item</p> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Hover effect demo - Script Codes CSS Codes
html, body { background: rgb(248,248,248); width: 100%; height: 100%; font-family: "Helvetica Neue", sans-serif;
}
.item { width: 400px; height: 250px; position: relative; overflow: hidden; backface-visibility: hidden; margin: 50px auto; box-shadow: 0 0 10px 0 rgba(0,0,0,0.2);
}
.item:hover .photo, .item:hover .content{ transform: translate3d(0,-50px,0);
}
.item:hover .photo{ opacity: 0.7;
}
.item:hover a { transform: translate3d(0,0,0);
}
a { width: 50px; height: 50px; border-radius: 50%; background: rgb(170, 114, 116); position: absolute; top: 0; bottom: 0; left: 0; right: 0; margin: auto; z-index: 1; line-height: 50px; text-align: center; color: #ffffff; transform: translate3d(0,-200px,0); transition: transform 0.25s ease; cursor: pointer;
}
.photo { dipslay: block; width: 100%; height: 100%; position: relative; float: left; background: url("https://25.media.tumblr.com/b03e53931e2264f97a3e93beae6d3053/tumblr_mtw7hple1a1st5lhmo1_1280.jpg") center center no-repeat; background-size: cover; transition: transform 0.25s ease, opacity 0.25s ease;
}
.content { width: 100%; text-align: center; float: left; height: 50px; transition: transform 0.25s ease; padding: 10px;
}
h1 { font-weight: normal; font-size: 18px;
}
p { font-weight: 100; font-size: 14px;
}
Developer | Rosh Jutherford |
Username | the_ruther4d |
Uploaded | September 04, 2022 |
Rating | 4 |
Size | 2,749 Kb |
Views | 22,264 |
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 |
Download Button | 4,308 Kb |
Flat Logo by Henrik Dahlheim | 2,580 Kb |
A Pen by Rosh Jutherford | 4,410 Kb |
Icons | 2,328 Kb |
Twisted | 3,216 Kb |
Apple TV style hover | 5,419 Kb |
RvV 2 | 3,115 Kb |
Parallax Canvas Gallery | 12,954 Kb |
Rubee | 3,195 Kb |
Beautiful Login Form | 2,861 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 |
Pagepilling.js | Blossk | 6,554 Kb |
Direction-icon | Alexandremasy | 3,323 Kb |
Font stack | Adrianjacob | 1,868 Kb |
CSS Flip Animation | Bbodine1 | 2,525 Kb |
Template | Indra_z85 | 2,323 Kb |
SVG Hover Animations | Kjbrum | 10,557 Kb |
OnScreenAction | Ozgursagiroglu | 2,647 Kb |
Web Spiral - p5.js | TWAIN | 2,183 Kb |
Bubble animation | Ftabor | 6,565 Kb |
Welcome | Nakome | 6,076 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!