Product -Thumb Hover
How do I make an product -thumb hover?
Material transition for product thumb hover that serves to revewal product info. . What is a product -thumb hover? How do you make a product -thumb hover? This script and codes were developed by Hans Engebretsen on 09 August 2022, Tuesday.
Product -Thumb Hover - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Product -Thumb Hover</title> <script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.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! */ @import url(http://fonts.googleapis.com/css?family=Open+Sans:600italic,400,300,600,700,800);
* { box-sizing: border-box;
}
body { font-family: 'Open-Sans', sans-serif; color: #1a1a1a; background-color: rgba(66, 0, 0, 0.1);
}
h4 { color: white; text-transform: uppercase; letter-spacing: .1em; font-weight: 100; text-shadow: 0 1px 0 #ac1c21; font-size: 2em;
}
li { list-style: none; float: left; padding: 10px;
}
.prod-thumb { position: relative; cursor: pointer; overflow: hidden; min-width: 250px; max-width: 33%; border-radius: 3px; box-shadow: none; transition: all 200ms ease-in-out, box-shadow 100ms;
}
.prod-thumb img { width: 100%;
}
.prod-thumb:after { content: "+"; text-shadow: 0 1px 0 #AC1C1F; width: 35px; color: #990000; font-size: 30px; text-indent: 8px; line-height: 29px; height: 35px; position: absolute; background-color: #dc3b41; display: block; border-radius: 50%; transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1); top: 0; right: 0;
}
.prod-thumb:hover { padding: 0; transition: all 200ms ease-in-out, box-shadow 0ms 200ms; box-shadow: 0 2px 3px 2px rgba(0, 0, 0, 0.3);
}
.prod-thumb:hover:after { width: 200%; height: 200%; top: 50%; left: 50%; margin-left: -100%; margin-top: -100%; border-radius: 50%; background-color: rgba(220, 59, 65, 0.8); transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1); z-index: 0;
}
.prod-thumb:hover .buy-section { background-color: #dc3b41;
}
.prod-thumb:hover h4, .prod-thumb:hover h3, .prod-thumb:hover .buy-section { opacity: 1; transition: opacity 150ms 200ms ease-in-out;
}
.prod-info { transition: all 200ms; position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 100%; display: block; padding: 10px;
}
.prod-info h4, .prod-info h3 { text-align: center; opacity: 0; transition: opacity 100ms ease-in-out; margin: 15px;
}
.prod-info h4 { margin-top: 30px;
}
.prod-info h3 { font-weight: 100; color: #990000; -webkit-font-smoothing: antialiased; font-size: 2em; float: left;
}
.buy-section { opacity: 0; padding-top: 10px; position: absolute; bottom: 0px; background-color: rgba(220, 59, 65, 0); left: 0; width: 100%;
}
.clearfix:after { content: ""; display: table; clear: both;
}
.buy-section { border-top: 1px solid #990000; display: block; margin-top: 10px; padding: 0px 20px;
}
.button { float: right; text-align: center; color: #e6e6e6; width: 40%; border-radius: 5px; margin-top: 10px; text-shadow: 0 1px 0 #ac1c21; border: 1px solid #AC1C1F; background-color: #dc3b41; font-size: .75em; text-transform: uppercase; letter-spacing: .02em; display: inline-block; text-decoration: none; padding: 15px 10px;
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <ul> <li class="prod-thumb"> <img src="https://www.66north.com/media/1867/W11418-framan.jpg?width=380&height=400&mode=crop&quality=90&scale=both&bgcolor=f5f4f0" alt="" /> <div class="prod-info"> <h4 class="prod-title">Women's Jacket</h4> <div class="buy-section clearfix"> <h3 class="prod-price"><sup>$</sup>150</h3> <a href="#product" class="button">Buy Now</a> </div> </div> </li> <li class="prod-thumb"> <img src="https://www.66north.com/media/2090/k11177-e.jpg?width=760&height=800&mode=crop&quality=65&scale=both&bgcolor=f5f4f0" alt="" /> <div class="prod-info"> <h4 class="prod-title">Snowy Hat</h4> <div class="buy-section clearfix"> <h3 class="prod-price"><sup>$</sup>40</h3> <a href="#product" class="button">Buy Now</a> </div> </div> </li> <li class="prod-thumb"> <img src="https://www.66north.com/media/2303471/w12704-890.jpg?width=320&quality=90" alt="" /> <div class="prod-info"> <h4 class="prod-title">Men's Jacket</h4> <div class="buy-section clearfix"> <h3 class="prod-price"><sup>$</sup>400</h3> <a href="#product" class="button">Buy Now</a> </div> </div> </li>
</ul> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Product -Thumb Hover - Script Codes CSS Codes
@import url(http://fonts.googleapis.com/css?family=Open+Sans:600italic,400,300,600,700,800);
* { box-sizing: border-box;
}
body { font-family: 'Open-Sans', sans-serif; color: #1a1a1a; background-color: rgba(66, 0, 0, 0.1);
}
h4 { color: white; text-transform: uppercase; letter-spacing: .1em; font-weight: 100; text-shadow: 0 1px 0 #ac1c21; font-size: 2em;
}
li { list-style: none; float: left; padding: 10px;
}
.prod-thumb { position: relative; cursor: pointer; overflow: hidden; min-width: 250px; max-width: 33%; border-radius: 3px; box-shadow: none; transition: all 200ms ease-in-out, box-shadow 100ms;
}
.prod-thumb img { width: 100%;
}
.prod-thumb:after { content: "+"; text-shadow: 0 1px 0 #AC1C1F; width: 35px; color: #990000; font-size: 30px; text-indent: 8px; line-height: 29px; height: 35px; position: absolute; background-color: #dc3b41; display: block; border-radius: 50%; transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1); top: 0; right: 0;
}
.prod-thumb:hover { padding: 0; transition: all 200ms ease-in-out, box-shadow 0ms 200ms; box-shadow: 0 2px 3px 2px rgba(0, 0, 0, 0.3);
}
.prod-thumb:hover:after { width: 200%; height: 200%; top: 50%; left: 50%; margin-left: -100%; margin-top: -100%; border-radius: 50%; background-color: rgba(220, 59, 65, 0.8); transition: all 300ms cubic-bezier(0.215, 0.61, 0.355, 1); z-index: 0;
}
.prod-thumb:hover .buy-section { background-color: #dc3b41;
}
.prod-thumb:hover h4, .prod-thumb:hover h3, .prod-thumb:hover .buy-section { opacity: 1; transition: opacity 150ms 200ms ease-in-out;
}
.prod-info { transition: all 200ms; position: absolute; top: 0; left: 0; z-index: 1; width: 100%; height: 100%; display: block; padding: 10px;
}
.prod-info h4, .prod-info h3 { text-align: center; opacity: 0; transition: opacity 100ms ease-in-out; margin: 15px;
}
.prod-info h4 { margin-top: 30px;
}
.prod-info h3 { font-weight: 100; color: #990000; -webkit-font-smoothing: antialiased; font-size: 2em; float: left;
}
.buy-section { opacity: 0; padding-top: 10px; position: absolute; bottom: 0px; background-color: rgba(220, 59, 65, 0); left: 0; width: 100%;
}
.clearfix:after { content: ""; display: table; clear: both;
}
.buy-section { border-top: 1px solid #990000; display: block; margin-top: 10px; padding: 0px 20px;
}
.button { float: right; text-align: center; color: #e6e6e6; width: 40%; border-radius: 5px; margin-top: 10px; text-shadow: 0 1px 0 #ac1c21; border: 1px solid #AC1C1F; background-color: #dc3b41; font-size: .75em; text-transform: uppercase; letter-spacing: .02em; display: inline-block; text-decoration: none; padding: 15px 10px;
}
Developer | Hans Engebretsen |
Username | hans |
Uploaded | August 09, 2022 |
Rating | 4.5 |
Size | 4,960 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 |
Candy Text Typographic Fun | 4,103 Kb |
The World Wide Web | 7,352 Kb |
Unfolding Login Form | 39,336 Kb |
Instagram API Footer | 4,868 Kb |
Visual effects Demo | 4,184 Kb |
Nav Menu Hover | 4,538 Kb |
Background-filter toggle | 38,215 Kb |
Nice Grainy background | 22,550 Kb |
HTML 5 Audio Player | 36,697 Kb |
Timeline Sign Load Transition | 3,926 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 |
Ball bouncing loading animation | Adam2326 | 3,144 Kb |
React Recipe Box | Krokodill | 5,347 Kb |
Navcube | Wbarlow | 4,775 Kb |
SCSS Unit Conversion | Jakob-e | 8,210 Kb |
RWD Conversion Practice | Jxqr97 | 2,743 Kb |
Animated Logo | Shakdaniel | 2,672 Kb |
TweetBox with React JS | J0zelito | 3,325 Kb |
The Fly | GianlucaGuarini | 3,405 Kb |
A Pen by John Malc | F789gh | 1,420 Kb |
Firefox Breakout Guide | Quincysoeliman | 2,576 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!