Hover effects with CSS3
How do I make an hover effects with css3?
What is a hover effects with css3? How do you make a hover effects with css3? This script and codes were developed by Amit Verma on 18 January 2023, Wednesday.
Hover effects with CSS3 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Hover effects with CSS3 </title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <link href='https://fonts.googleapis.com/css?family=Raleway:400,700|Merriweather' rel='stylesheet' type='text/css'>
<h1 style="font-family: 'Raleway', sans-serif;"> CSS3 hover<span id="hover"> effects/</span></h1>
<p style="font-family: sans-serif; color: #fff; padding-left: 10px;">Please give credit if you use my photography.</p>
<div id="all"> <div class="view view-first"> <img src="http://static1.squarespace.com/static/55ac6d80e4b0a964784b2f80/t/5703e9208259b507928ad72a/1459874081584/xzKx01n.png" /> <div class="mask"> <h2>Empire State</h2> <p>A cool description of some sort between these tags. I am so cool and awesomely awesome.</p> <a href="#" class="info">Read More</a> </div> </div> <div class="view view-second"> <img src="http://static1.squarespace.com/static/55ac6d80e4b0a964784b2f80/t/5703eaab37013bdcee28c077/1459874476977/gw9SfTu.png" /> <div class="mask"></div> <div class="content"> <h2>Midtown</h2> <p>A description of some sort between these tags. I am so cool and awesomely awesome.</p> <a href="#" class="info">Read More</a> </div> </div> <div class="view view-tenth"> <img src="http://static1.squarespace.com/static/55ac6d80e4b0a964784b2f80/t/5703eb0cb09f95f41391ea85/1459874573710/j07SfQZ.png" /> <div class="mask"> <h2>The Only Living Boy in New York</h2> <p>Words and such, a whole lot more of muh flippin' words.</p> <a href="#" class="info">Read More</a> </div> </div> <div class="view view-second"> <img src="http://static1.squarespace.com/static/55ac6d80e4b0a964784b2f80/t/5703eb2e746fb98cc2510ebd/1459874606989/PsZyN43.png" /> <div class="mask"></div> <div class="content"> <h2 id="testimonials">Upper East Side</h2> <p>“A description of some sort between these tags. I am so cool ye and awesomely awesome. He was cool.”</p> <a href="#" class="info">Read More</a> </div> </div>
</div>
</body>
</html>
Hover effects with CSS3 - Script Codes CSS Codes
html { min-height: 100%;
}
body { background: radial-gradient(ellipse at bottom left, rgba(104, 128, 138, 0.4) 10%, rgba(138, 114, 76, 0) 40%), linear-gradient(to bottom, rgba(57, 173, 219, .25), rgba(42, 60, 87, 0.4)), linear-gradient(135deg, #670d10, #092756);
}
h1 { color: white; padding-left: 10px;
}
#hover { color: rgba(188, 175, 204, 0.9);
}
h2#testimonials { color: rgb(94, 244, 177);
}
div#all { width: 100%; height: 100%;
}
/* generic css */
.view { margin: 10px; float: left; border: 10px solid #fff; overflow: hidden; position: relative; text-align: center; box-shadow: 1px 1px 2px #e6e6e6; cursor: default; background: #fff url(../images/bgimg.jpg) no-repeat center center
}
.view .mask,
.view .content { width: 300px; height: 200px; position: absolute; overflow: hidden; top: 0; left: 0
}
.view img { display: block; position: relative
}
.view h2 { text-transform: uppercase; color: #fff; text-align: center; position: relative; font-size: 17px; font-family: Raleway, serif; padding: 10px; /*background: rgba(0, 0, 0, 0.8);*/ margin: 20px 0 0 0
}
.view p { font-family: Merriweather, serif; font-style: italic; font-size: 14px; position: relative; color: #fff; padding: 0px 20px 0px; text-align: center
}
.view a.info { display: inline-block; text-decoration: none; padding: 7px 14px; background: #000; color: #fff; font-family: Raleway, serif; text-transform: uppercase; box-shadow: 0 0 1px #000
}
.view a.info:hover { box-shadow: 0 0 5px #000
}
/*1*/
.view-first img { /*1*/ transition: all 0.2s linear; width: 300px; height: 200px;
}
.view-first .mask { opacity: 0; background-color: rgba(58, 1, 132, 0.44); transition: all 0.4s ease-in-out;
}
.view-first h2 { transform: translateY(-100px); opacity: 0; font-family: Raleway, serif; transition: all 0.2s ease-in-out;
}
.view-first p { transform: translateY(100px); opacity: 0; transition: all 0.2s linear;
}
.view-first a.info { opacity: 0; transition: all 0.2s ease-in-out;
}
/* */
.view-first:hover img { transform: scale(1.1);
}
.view-first:hover .mask { opacity: 1;
}
.view-first:hover h2,
.view-first:hover p,
.view-first:hover a.info { opacity: 1; transform: translateY(0px);
}
.view-first:hover p { transition-delay: 0.1s;
}
.view-first:hover a.info { transition-delay: 0.2s;
}
/*2*/
.view-second img { transition: all 0.2s ease-in; -webkit-transition: all 0.2s ease-in;
}
.view-second .mask { background-color: rgba(12, 19, 27, 0.6); width: 300px; padding: 105px; height: 200px; opacity: 0; transform: translate(265px, 145px) rotate(45deg); -webkit-transform: translate(265px, 145px) rotate(45deg); transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out;
}
.view-second h2 { border-bottom: 1px solid rgba(0, 0, 0, 0.3); font-family: Raleway, serif; background: transparent; margin: 20px 40px 0px 40px; -webkit-transform: translate(200px, -200px); transform: translate(200px, -200px); -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out;
}
.view-second p { transform: translate(-200px, 200px); -webkit-transform: translate(200px, -200px); transition: all 0.2s ease-in-out; -webkit-transition: all 0.2s ease-in-out;
}
.view-second a.info { transform: translate(0px, 100px); -webkit-transform: translate(0px, 100px); transition: all 0.2s 0.1s ease-in-out; -webkit-transition: all 0.2s 0.1s ease-in-out;
}
/* */
.view-second:hover .mask { opacity: 1; transform: translate(-80px, -125px) rotate(45deg); -webkit-transform: translate(-80px, -125px) rotate(45deg);
}
.view-second:hover h2 { transform: translate(0px, 0px); -webkit-transform: translate(0px, 0px); transition-delay: 0.3s; -webkit-transition-delay: 0.3s;
}
.view-second:hover p { transform: translate(0px, 0px); -webkit-transform: translate(0px, 0px); transition-delay: 0.4s; -webkit-transition-delay: 0.4s;
}
.view-second:hover a.info { transform: translate(0px, 0px); -webkit-transform: translate(0px, 0px); transition-delay: 0.5s; -webkit-transition-delay: 0.5s;
}
/*3*/
.view-tenth img { transform: scaleY(1); transition: all .7s ease-in-out;
}
.view-tenth .mask { background-color: rgba(255, 231, 179, 0.3); transition: all 0.5s linear; opacity: 0;
}
.view-tenth h2 { border-bottom: 1px solid rgba(0, 0, 0, 0.3); background: transparent; margin: 20px 40px 0px 40px; transform: scale(0); color: #333; transition: all 0.5s linear; opacity: 0;
}
.view-tenth p { color: #333; opacity: 0; transform: scale(0); transition: all 0.5s linear; padding-
}
.view-tenth a.info { opacity: 0; transform: scale(0); transition: all 0.5s linear;
}
.view-tenth:hover img { -webkit-transform: scale(10); transform: scale(10); opacity: 0;
}
.view-tenth:hover .mask { opacity: 1;
}
.view-tenth:hover h2,
.view-tenth:hover p,
.view-tenth:hover a.info { transform: scale(1); opacity: 1;
}
Developer | Amit Verma |
Username | amit-webdesigner |
Uploaded | January 18, 2023 |
Rating | 3 |
Size | 3,262 Kb |
Views | 6,072 |
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 |
Mobile menu icon animations | 2,497 Kb |
Price Box Effect | 2,485 Kb |
Responsive Pricing Tables With Hover Effects | 6,842 Kb |
Thumbnail Bootstrap Carousel With Hover Captions | 7,102 Kb |
Image Hover Effect | 2,458 Kb |
Bootstrap 3.0. Responsive Pricing Tables | 2,868 Kb |
Image Hover Effect, Text Come On Image Hover | 2,264 Kb |
Background Animation CSS Effect - Bootstrap animation | 1,852 Kb |
Metro style dynamic Tiles | 2,721 Kb |
Pricing table hover effect | 2,390 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 |
Canvas stripes | Adrianparr | 1,948 Kb |
Snow collision | Wojtek1150 | 3,542 Kb |
Placeholder support for contentEditable elements, without JavaScript | Flesler | 1,863 Kb |
Week7 replicate | Hwcasis | 1,620 Kb |
This in constructor context | _shree33 | 1,718 Kb |
Web Spiral - p5.js | TWAIN | 2,183 Kb |
Cars going | Netoguimaraes | 1,699 Kb |
Responsive Menu I | Rodericksandoval | 3,045 Kb |
Loading animation with css | Icebob | 2,947 Kb |
Sidebar Thing | Jonambas | 2,779 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!