Product Item Additional Info On Hover
How do I make an product item additional info on hover?
What is a product item additional info on hover? How do you make a product item additional info on hover? This script and codes were developed by Luke Watts on 14 August 2022, Sunday.
Product Item Additional Info On Hover - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Product Item Additional Info On Hover</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="wrapper"> <div class="row"> <div class="container-item"> <div class="item" style="background-image: url(http://fc06.deviantart.net/fs71/i/2010/037/9/b/Shoe_Product_Shot_by_ChrisHavron.jpg)"> <div class="item-overlay"> <div class="sale-tag"><span>SALE</span></div> </div> <div class="item-content"> <div class="item-top-content"> <div class="item-top-content-inner"> <div class="item-product"> <div class="item-top-title"> <h2>Ipath lowrunner</h2> <p class="subdescription">Low skateshoes - Grey</p> </div> </div> <div class="item-product-price"><span class="price-num">$17</span> <p class="subdescription">$36</p> <div class="old-price"></div> </div> </div> </div> <div class="item-add-content"> <div class="item-add-content-inner"> <div class="section"><a class="btn buy expand" href="#">Buy now</a></div> </div> </div> </div> </div> </div> </div>
</div> <script src='https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js'></script>
</body>
</html>
Product Item Additional Info On Hover - Script Codes CSS Codes
@import url(https://fonts.google.com/family?Raleway);
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-backface-visibility: hidden;
}
html { font-size: 100%; line-height: 1.3; font-family: Raleway, sans-serif;
}
.row { width: 100%; display: block; clear: both;
}
.container-item { position: absolute; top: 50%; left: 50%; margin-left: -130px; margin-top: -130px;
}
.item { width: 260px; height: 260px; background-size: 100%; position: relative; top: 0; left: 0; z-index: 5; overflow: hidden; border-radius: 3px; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}
.item-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: 3px; background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI4JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC40MiIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); background: -webkit-linear-gradient(top, transparent 0%, transparent 28%, rgba(0, 0, 0, 0.42) 100%); background: linear-gradient(to bottom, transparent 0%, transparent 28%, rgba(0, 0, 0, 0.42) 100%); /* W3C */ -webkit-transition: background-color 0.3s ease-in-out; transition: background-color 0.3s ease-in-out;
}
.item:hover .item-overlay { background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjI4JSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC40MiIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+); background: -webkit-linear-gradient(top, transparent 0%, transparent 28%, rgba(0, 0, 0, 0.42) 100%); background: linear-gradient(to bottom, transparent 0%, transparent 28%, rgba(0, 0, 0, 0.42) 100%); background-color: rgba(0, 0, 0, 0.4);
}
.item-content { position: absolute; width: 100%; bottom: 0; -webkit-transform: translate(0, 100%); transform: translate(0, 100%); -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out;
}
.item:hover .item-content { -webkit-transform: translate(0, 0); transform: translate(0, 0); -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out;
}
.item-top-content { position: relative;
}
.item-top-content-inner { position: absolute; bottom: 0; padding: 10px 15px; background: rgba(255, 255, 255, 0.85); width: 100%;
}
.item-add-content { padding: 0 15px 15px 15px; opacity: 0; -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out;
}
.item-add-content-inner { border: 0 solid #dadada; border-top-width: 1px; padding-top: 10px;
}
.item:hover .item-add-content { opacity: 1;
}
.item-button { border-radius: 3px; width: 30px; height: 30px;
}
.item-button.play { background-color: #40c781; position: absolute; top: 15px; left: 15px; opacity: 0; background-image: url(http://webstudios.dk/resources/img/play-img.png);
}
.item-button.play:hover { background-color: #34a46c;
}
.container-item:hover .item-button.play { opacity: 1;
}
.item-button.share { background-color: #4f4f4f; position: absolute; top: 50px; left: 15px; opacity: 0; background-image: url(http://webstudios.dk/resources/img/share-img.png);
}
.item-button.share:hover { background-color: #333333;
}
.container-item:hover .item-button.share { opacity: 1;
}
.btn.buy { background-color: #40c781; text-align: center; line-height: 42px; font-weight: 700; color: #fff; border-radius: 3px; text-decoration: none; opacity: 1; border: 0px solid #35a76e; border-bottom-width: 2px; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
}
.btn.buy:hover { background-color: #34a46c;
}
.expand { display: block;
}
/* Tags */
.sale-tag { width: 50px; height: 100px; background: #40c781; position: absolute; top: -45px; right: -10px; -webkit-transform: rotate(-45deg); transform: rotate(-45deg);
}
.sale-tag span { position: absolute; top: 48px; left: 2px; -webkit-transform: rotate(45deg); transform: rotate(45deg); font-size: 11px; color: #fff;
}
/* content */
.item-product { width: 70%; float: left;
}
.item-product-price { width: 30%; float: right; text-align: right;
}
/* Style / Theming */
body { /* IE10 Consumer Preview */ /* Mozilla Firefox */ /* Opera */ /* Webkit (Safari/Chrome 10) */ background-image: -webkit-gradient(radial, center center, 0, center center, 497, color-stop(0, #FFFFFF), color-stop(1, #E3E3E3)); /* Webkit (Chrome 11+) */ background-image: -webkit-radial-gradient(center, circle farthest-corner, #FFFFFF 0%, #E3E3E3 100%); /* W3C Markup, IE10 Release Preview */ background-image: -webkit-radial-gradient(circle farthest-corner at center, #ffffff 0%, #e3e3e3 100%); background-image: radial-gradient(circle farthest-corner at center, #ffffff 0%, #e3e3e3 100%);
}
/*Prduct title*/
h2 { font-size: 1em; font-weight: 400; color: #222;
}
.subdescription { font-family: 'helvetica neue'; font-size: 0.8em; font-weight: 400; color: #7d7d7d;
}
/*product price*/
.item-product-price { color: #40c781; font-size: 1em; font-weight: 700; position: relative; font-family: "helvetica neue";
}
.item-product-price .subdescription { color: #7d7d7d;
}
.old-price { border: 0 solid #7d7d7d; border-bottom-width: 1px; margin-top: -11px; width: 30px; position: absolute; right: -2px; bottom: 10px; -webkit-transform: rotate(-30deg); transform: rotate(-30deg);
}
.item-content { background-color: rgba(255, 255, 255, 0.85);
}
.item-add-content { font-family: Raleway, sans-serif; font-weight: 400; color: #7d7d7d;
}
.item-add-content .section { margin-bottom: 10px;
}
.item-add-content .section:last-of-type { margin-bottom: 0;
}
.item-add-content h4 { font-weight: 600; color: #222; font-size: 0.8em;
}
.item-add-content p { font-size: 0.8em;
}
/* Item menu */
.item-menu { position: absolute; top: 3px; left: 0px; height: 254px; width: 260px; border-radius: 3px 0 0 3px; background: #4f4f4f; border-radius: 3px; box-shadow: 0 1px 5px rgba(0, 0, 0, 0.3); -webkit-transform: translate(0, 0); transform: translate(0, 0); -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out;
}
.item-menu.visible { -webkit-transform: translate(-70px, 0); transform: translate(-70px, 0); -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out;
}
.item-menu:hover { -webkit-transform: translate(-70px, 0); transform: translate(-70px, 0); -webkit-transition: all 300ms ease-in-out; transition: all 300ms ease-in-out;
}
.popout-menu ul { list-style-type: none;
}
.popout-menu ul li { box-shadow: inset 0px 1px rgba(0, 0, 0, 0.1); border-bottom: 1px solid #434343;
}
.popout-menu ul li:first-of-type { border-radius: 3px 0;
}
.popout-menu ul li:last-of-type { border-bottom-width: 0;
}
.popout-menu ul li:hover { background: #434343;
}
.popout-menu ul li a { color: #eaeaea; font-weight: 600; font-size: 0.8em; text-decoration: none; line-height: 36px; padding: 0 15px; display: block; text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}
Developer | Luke Watts |
Username | lukewatts |
Uploaded | August 14, 2022 |
Rating | 3 |
Size | 6,792 Kb |
Views | 30,360 |
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 |
Justified Fullsizable Gallery | 3,131 Kb |
OFF CANVAS MENU | 3,206 Kb |
Turnable LED Dial | 5,472 Kb |
Automatic Quotes | 3,216 Kb |
CSS Drop Shadows with Global Illumination | 2,559 Kb |
Custom Google Maps | 5,076 Kb |
Form Inputs | 3,504 Kb |
Pure CSS Dial 01 | 3,925 Kb |
CSS Dark Neon LED Volume Dial | 3,893 Kb |
Footer Concept 02 | 10,469 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 |
Custom Select Element | Agrayson | 3,616 Kb |
RAQuote | Naderk007 | 4,412 Kb |
TinFoil Boats | Chandralil | 4,577 Kb |
Twitch Live Channels | Inkblotty | 4,956 Kb |
Page Transitions in Backbone | Mikefowler | 3,691 Kb |
Button shaking | SusanneLundblad | 2,227 Kb |
Lazy Load for Background Images | The_ruther4d | 2,977 Kb |
CSS Variables | Jdsteinbach | 4,759 Kb |
Importable Clearfix | Corysimmons | 1,411 Kb |
Incremental game | Eprouver | 5,868 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!