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 |
Kinetic Mark by Philip Thepkaysone | 2,504 Kb |
Share toggles | 3,574 Kb |
Pre-loader 1 by Chris Hall | 2,658 Kb |
Twisted | 3,216 Kb |
Game-Style Header | 4,486 Kb |
IOS7 Icon | 2,313 Kb |
Responsive CSS Menu | 2,559 Kb |
Download Button | 4,308 Kb |
Apple TV style hover | 5,419 Kb |
Parallax Canvas Gallery | 12,954 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 |
CSS3 Fullscreen Background Slideshow | Leetech | 3,435 Kb |
JS Countdown Timer | Ayoungh | 2,435 Kb |
Glitchy Text Effect | Kescoe | 2,208 Kb |
ABVI Menu Discarded | Overdrivemachines | 3,607 Kb |
Cake | Kennyname | 7,220 Kb |
Loading animation | Codeams | 2,408 Kb |
CSS Donut Charts | Seanstopnik | 2,908 Kb |
Personal Website Redesign v2.0 | DevItWithDavid | 5,168 Kb |
Css or Czz.. | Judag | 4,111 Kb |
Mobile first social buttons with no iframe | Alistairtweedie | 3,158 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!