#1281 - Image Hover

Size
2,515 Kb
Views
14,168

How do I make an #1281 - image hover?

Image hover with title. What is a #1281 - image hover? How do you make a #1281 - image hover? This script and codes were developed by LittleSnippets.net on 31 December 2022, Saturday.

#1281 - Image Hover Previews

#1281 - Image Hover - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>#1281 - Image Hover</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <figure class="snip1281 yellow">	<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/331810/sample22.jpg" alt="sample22"/> <figcaption> <h2>Gordon Norman</h2><span>Musician</span> </figcaption> <a href="#"></a>
</figure>
<figure class="snip1281 red hover">	<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/331810/sample69.jpg" alt="sample69"/> <figcaption> <h2>Abraham Pigeon</h2><span>Explorer</span> </figcaption> <a href="#"></a>
</figure>
<figure class="snip1281 blue">	<img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/331810/sample20.jpg" alt="sample20"/> <figcaption> <h2>Bailey Wonger</h2><span>Artist</span> </figcaption> <a href="#"></a>
</figure> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>

#1281 - Image Hover - Script Codes CSS Codes

/* Included color classes..	.red	.blue	.yellow	.green
*/
@import url(https://fonts.googleapis.com/css?family=Raleway:400,700);
figure.snip1281 { font-family: 'Raleway', Arial, sans-serif; color: #fff; position: relative; float: left; overflow: hidden; margin: 10px 1%; min-width: 230px; max-width: 315px; max-height: 220px; width: 100%; background-color: #000000; color: #ffffff; text-align: center;
}
figure.snip1281 * { -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-transition: all 0.6s ease; transition: all 0.6s ease;
}
figure.snip1281 img { opacity: 0.7; max-width: 100%;
}
figure.snip1281:after { background: #000000; width: 0; height: 6px; position: absolute; left: 0; top: 0; content: ''; -webkit-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out;
}
figure.snip1281 figcaption { position: absolute; top: 50%; left: 0; width: 100%; padding: 0 30px; -webkit-transform: translateY(-50%); transform: translateY(-50%);
}
figure.snip1281 h2,
figure.snip1281 span { margin: 0; width: 100%;
}
figure.snip1281 h2 { font-weight: 400; text-transform: uppercase;
}
figure.snip1281 span { color: #e6e6e6; font-weight: 700; text-transform: uppercase;
}
figure.snip1281 a { left: 0; right: 0; top: 0; bottom: 0; position: absolute; z-index: 1;
}
figure.snip1281.blue:after { background-color: #2980b9;
}
figure.snip1281.blue span { color: #409ad5;
}
figure.snip1281.red:after { background-color: #c0392b;
}
figure.snip1281.red span { color: #d65548;
}
figure.snip1281.yellow:after { background-color: #f39c12;
}
figure.snip1281.yellow span { color: #f5b043;
}
figure.snip1281.green:after { background-color: #27ae60;
}
figure.snip1281.green span { color: #36d278;
}
figure.snip1281:hover img,
figure.snip1281.hover img { -webkit-transform: scale(1.2); transform: scale(1.2);
}
figure.snip1281:hover:after,
figure.snip1281.hover:after { width: 100%;
}
/* Demo purposes only */
body { background-color: #212121;
}

#1281 - Image Hover - Script Codes JS Codes

 /* Demo purposes only */ $(".hover").mouseleave( function () { $(this).removeClass("hover"); } );
#1281 - Image Hover - Script Codes
#1281 - Image Hover - Script Codes
Home Page Home
Developer LittleSnippets.net
Username littlesnippets
Uploaded December 31, 2022
Rating 4
Size 2,515 Kb
Views 14,168
Do you need developer help for #1281 - Image Hover?

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!

LittleSnippets.net (littlesnippets) Script Codes
Create amazing sales emails with AI!

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!