Terry Hover Effect from Codrops
How do I make an terry hover effect from codrops?
Some inspiration and modern ideas for subtle hover effects.Article on Codrops. What is a terry hover effect from codrops? How do you make a terry hover effect from codrops? This script and codes were developed by Barbara Laird on 16 January 2023, Monday.
Terry Hover Effect from Codrops - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Terry Hover Effect from Codrops</title> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="content"> <h2>Terry</h2> <div class="grid"> <figure class="effect-terry"> <img src="http://placekitten.com/g/600/400" alt="img16"/> <figcaption> <h2>Noisy <span>Terry</span></h2> <p> <a href="#"><i class="fa fa-fw fa-download"></i></a> <a href="#"><i class="fa fa-fw fa-heart"></i></a> <a href="#"><i class="fa fa-fw fa-share"></i></a> <a href="#"><i class="fa fa-fw fa-tags"></i></a> </p> </figcaption> </figure> <figure class="effect-terry"> <img src="http://placekitten.com/g/1200/600" alt="img26"/> <figcaption> <h2>Noisy <span>Terry</span></h2> <p> <a href="#"><i class="fa fa-fw fa-download"></i></a> <a href="#"><i class="fa fa-fw fa-heart"></i></a> <a href="#"><i class="fa fa-fw fa-share"></i></a> <a href="#"><i class="fa fa-fw fa-tags"></i></a> </p> </figcaption> </figure> </div>
</div>
</body>
</html>
Terry Hover Effect from Codrops - Script Codes CSS Codes
*, *:after, *:before { -webkit-box-sizing: border-box; box-sizing: border-box; }
.clearfix:before, .clearfix:after { display: table; content: ''; }
.clearfix:after { clear: both; }
body { background: #2f3238; color: #fff; font-weight: 400; font-size: 1em; font-family: 'Raleway', Arial, sans-serif;
}
a { outline: none; color: #3498db; text-decoration: none;
}
a:hover, a:focus { color: #528cb3;
}
section { padding: 1em; text-align: center;
}
.content { margin: 0 auto; max-width: 1000px;
}
.content > h2 { clear: both; margin: 0; padding: 4em 1% 0; color: #484B54; font-weight: 800; font-size: 1.5em;
}
.content > h2:first-child { padding-top: 0em;
}
.grid { position: relative; margin: 0 auto; padding: 1em 0 4em; max-width: 1000px; list-style: none; text-align: center;
}
/* Common style */
.grid figure { position: relative; float: left; overflow: hidden; margin: 10px 1%; min-width: 320px; max-width: 480px; max-height: 360px; width: 48%; background: #3085a3; text-align: center; cursor: pointer;
}
.grid figure img { position: relative; display: block; min-height: 100%; max-width: 100%; opacity: 0.8;
}
.grid figure figcaption { padding: 2em; color: #fff; text-transform: uppercase; font-size: 1.25em; -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.grid figure figcaption::before,
.grid figure figcaption::after { pointer-events: none;
}
.grid figure figcaption,
.grid figure figcaption > a { position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a { z-index: 1000; text-indent: 200%; white-space: nowrap; font-size: 0; opacity: 0;
}
.grid figure h2 { word-spacing: -0.15em; font-weight: 300;
}
.grid figure h2 span { font-weight: 800;
}
.grid figure h2,
.grid figure p { margin: 0;
}
.grid figure p { letter-spacing: 1px; font-size: 68.5%;
}
/*-----------------*/
/***** Terry *****/
/*-----------------*/
figure.effect-terry { background: #34495e;
}
figure.effect-terry figcaption { padding: 1em;
}
figure.effect-terry figcaption::before,
figure.effect-terry figcaption::after { position: absolute; width: 200%; height: 200%; border-style: solid; border-color: #101010; content: ''; -webkit-transition: -webkit-transform 0.35s; transition: transform 0.35s;
}
figure.effect-terry figcaption::before { right: 0; bottom: 0; border-width: 0 70px 60px 0; -webkit-transform: translate3d(70px,60px,0); transform: translate3d(70px,60px,0);
}
figure.effect-terry figcaption::after { top: 0; left: 0; border-width: 15px 0 0 15px; -webkit-transform: translate3d(-15px,-15px,0); transform: translate3d(-15px,-15px,0);
}
figure.effect-terry img,
figure.effect-terry p a { -webkit-transition: opacity 0.35s, -webkit-transform 0.35s; transition: opacity 0.35s, transform 0.35s;
}
figure.effect-terry img { opacity: 0.85;
}
figure.effect-terry h2 { position: absolute; bottom: 0; left: 0; padding: 0.4em 10px; width: 50%; -webkit-transition: -webkit-transform 0.35s; transition: transform 0.35s; -webkit-transform: translate3d(100%,0,0); transform: translate3d(100%,0,0);
}
@media screen and (max-width: 920px) { figure.effect-terry h2 { padding: 0.75em 10px; font-size: 120%; }
}
figure.effect-terry p { float: right; clear: both; text-align: left; text-transform: none; font-size: 111%;
}
figure.effect-terry p a { display: block; margin-bottom: 1em; color: #fff; opacity: 0; -webkit-transform: translate3d(90px,0,0); transform: translate3d(90px,0,0);
}
figure.effect-terry p a:hover,
figure.effect-terry p a:focus { color: #f3cf3f;
}
figure.effect-terry:hover figcaption::before,
figure.effect-terry:hover figcaption::after { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0);
}
figure.effect-terry:hover img { opacity: 0.6;
}
figure.effect-terry:hover h2,
figure.effect-terry:hover p a { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0);
}
figure.effect-terry:hover p a { opacity: 1;
}
figure.effect-terry:hover p a:first-child { -webkit-transition-delay: 0.025s; transition-delay: 0.025s;
}
figure.effect-terry:hover p a:nth-child(2) { -webkit-transition-delay: 0.05s; transition-delay: 0.05s;
}
figure.effect-terry:hover p a:nth-child(3) { -webkit-transition-delay: 0.075s; transition-delay: 0.075s;
}
figure.effect-terry:hover p a:nth-child(4) { -webkit-transition-delay: 0.1s; transition-delay: 0.1s;
}
Developer | Barbara Laird |
Username | bhlaird |
Uploaded | January 16, 2023 |
Rating | 3 |
Size | 2,941 Kb |
Views | 8,096 |
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 |
Codrops animated text | 1,970 Kb |
Happy New Year | 3,577 Kb |
Windows | 2,686 Kb |
A Pen by Barbara Laird | 1,795 Kb |
Playing with colors | 9,310 Kb |
Man Up | 3,309 Kb |
Bullseye | 2,019 Kb |
Smile More | 3,720 Kb |
Atom | 1,932 Kb |
SVG Shape Hover Effect | 4,672 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 |
Sticky menu on scroll | Senff | 2,869 Kb |
Slider | Mohammed-fawzy | 2,634 Kb |
See Through | Larrygeams | 77,410 Kb |
Shopping cart | Andiio | 6,581 Kb |
Sassy Buttons | Elyseholladay | 2,299 Kb |
SVG Playground | Roygwells | 1,834 Kb |
Smoke Shader - Frame Buffer | Omarshe7ta | 2,672 Kb |
Portfolio Landing Page | FDfranklin | 3,585 Kb |
Responsive slide | Thorien | 2,400 Kb |
Table border-collapse property | Maxds | 1,672 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!