Hover Effect Test

Developer
Size
2,380 Kb
Views
16,192

How do I make an hover effect test?

Http://codepen.io/littlesnippets/pen/rxYara?editors=0100. What is a hover effect test? How do you make a hover effect test? This script and codes were developed by Kazu on 28 October 2022, Friday.

Hover Effect Test Previews

Hover Effect Test - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Hover Effect Test</title> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<figure class="snip1328"><img src="https://t.pimg.jp/015/114/151/2/15114151.jpg" alt="sample47"/> <figcaption> <h2>トリミング</h2> <p>Well, it just seemed wrong to cheat on an ethics test.</p> <span class="home-more">もっと見る</span> </figcaption><a href="#"></a>
</figure>
<figure class="snip1328"><img src="http://local.wordpress-trunk.dev/wp-content/uploads/2016/05/home-pexels.jpg" alt="sample74"/> <figcaption> <h2>ホテル</h2> <p>This game lends itself to certain abuses. </p> <span class="home-more">もっと見る</span> </figcaption><a href="#"></a>
</figure>
<figure class="snip1328"><img src="http://local.wordpress-trunk.dev/wp-content/uploads/2016/05/fotolia_99193404.jpg" alt="sample83"/> <figcaption> <h2>暮らす</h2> <p>Golly, I'd hate to have a kid like me!</p> <span class="home-more">もっと見る</span> </figcaption><a href="#"></a>
</figure>
</figure>
<figure class="snip1328"><img src="http://local.wordpress-trunk.dev/wp-content/uploads/2016/05/pexels-photo-69372.jpg" alt="sample83"/> <figcaption> <h2>もっと知る</h2> <p>Golly, I'd hate to have a kid like me!</p> <span class="home-more">もっと見る</span> </figcaption><a href="#"></a>
</figure>
</body>
</html>

Hover Effect Test - Script Codes CSS Codes

@import url(https://fonts.googleapis.com/css?family=Raleway:400,500);
figure.snip1328 { font-family: 'Raleway', Arial, sans-serif; position: relative; float: left; overflow: hidden; margin: 10px 1%; min-width: 230px; max-width: 315px; max-height: 220px; width: 100%; color: #000000; text-align: center;
}
figure.snip1328 * { -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-transition: all 0.6s ease; transition: all 0.6s ease;
}
figure.snip1328 img { opacity: 1; width: 100%;
}
figure.snip1328:after,
figure.snip1328:before { background: #ffffff; width: 0; height: 100%; position: absolute; content: ''; opacity: 0.5; -webkit-transition: all 0.4s ease-in-out; transition: all 0.4s ease-in-out; z-index: 1;
}
figure.snip1328:after { top: 0; left: 0;
}
figure.snip1328:before { right: 0; bottom: 0;
}
figure.snip1328 figcaption { position: absolute; top: 50%; left: 0; width: 100%; -webkit-transform: translateY(-50%); transform: translateY(-50%); z-index: 2;
}
figure.snip1328 h2,
figure.snip1328 p { margin: 0; width: 100%;
/* opacity: 0; */
}
figure.snip1328 h2 { padding: 0 30px;
}
figure.snip1328 p { padding: 0 50px; font-size: 0.8em;
/* font-weight: 500; */
}
figure.snip1328 a { left: 0; right: 0; top: 0; bottom: 0; position: absolute; z-index: 2;
}
figure.snip1328:hover:after,
figure.snip1328:hover:before { width: 100%; height: 100%;
}
/* figure.snip1328:hover figcaption h2,
figure.snip1328:hover figcaption p { -webkit-transition-delay: 0.2s; transition-delay: 0.2s;
} */
/* figure.snip1328:hover figcaption h2 { opacity: 1;
} */
.home-more { display: inline-block; padding: 4px 12px; background: #6AC506; font-size: 13px; color: #fff; border-radius: 4px;
}
Hover Effect Test - Script Codes
Hover Effect Test - Script Codes
Home Page Home
Developer Kazu
Username carmerano
Uploaded October 28, 2022
Rating 3
Size 2,380 Kb
Views 16,192
Do you need developer help for Hover Effect Test?

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!

Kazu (carmerano) Script Codes
Create amazing love letters 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!