Pure css thumbnails hover 2
How do I make an pure css thumbnails hover 2?
This is a sample of lesson.. What is a pure css thumbnails hover 2? How do you make a pure css thumbnails hover 2? This script and codes were developed by Keisuke Takahashi on 19 November 2022, Saturday.
Pure css thumbnails hover 2 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pure css thumbnails hover 2</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <h1>Pure css thumbnails hover</h1>
<ul> <li><div>Default</div></li> <li><span>1</span><div>First</div></li> <li><span>2</span><div>Second</div></li> <li><span>3</span><div>Third</div></li> <li><span>4</span><div>4th</div></li> <li><span>5</span><div>5th</div></li> <li><span>6</span><div>6th</div></li>
</ul>
</body>
</html>
Pure css thumbnails hover 2 - Script Codes CSS Codes
body { background:#888;
}
h1 { text-align:center;
}
body,ul,li { margin:0; paddin:0;
}
ul { width:300px; height:300px; margin:1em auto; padding-left:310px; text-align:center; list-style:none; position:relative; background:#eee;
}
li { float:left; width:90px; margin:10px 10px 10px 0; height:80px;
}
li div { left:0; top:0; position:absolute; width:300px; height:300px; line-height:300px; font-size:2em; opacity:0; transition:0.4s;
}
li:nth-child(1) { width:0; margin: 0;
}
li:nth-child(1) div {opacity:1;}
li:nth-child(odd) div { background:orange;}
li:nth-child(even) div { background:pink;}
li span { display:block; cursor:pointer; width:100%; height:100%; line-height:80px; opacity:0.5; -webkit-transition:0.4s; -moz-transition:0.4s; transition:0.4s;
}
li:nth-child(odd) span { background:orange;}
li:nth-child(even) span { background:pink;}
li span:hover { opacity:1;
}
li span:hover + div { opacity:1; z-index:100;
}
@media screen and (max-width:600px) { ul { padding-left: 0; width:90%; height:auto; margin:0 auto 1em; } li:nth-child(n) { width: 100%; margin:0 auto 1em; height:auto; } li div { position: static; margin:0; width:100%; height:auto; opacity:1; line-height:2em; } li span { display:none; }
}
Developer | Keisuke Takahashi |
Username | ksksoft |
Uploaded | November 19, 2022 |
Rating | 3 |
Size | 1,940 Kb |
Views | 18,216 |
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 |
Pure CSS candle light animation by One element | 2,193 Kb |
Pure CSS Slide Panel | 2,463 Kb |
Pure css Parallax header | 2,143 Kb |
Figure 8 animation | 1,847 Kb |
Figure 8 animation Type 2 | 1,925 Kb |
One Element Girl | 2,768 Kb |
SVG PIE Chart with CSS animation | 2,107 Kb |
CSS Slot Machine | 3,111 Kb |
Pure CSS Drawer Menu | 2,472 Kb |
Box-shadow hexagon mask | 2,196 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 |
CSS Social Media Icon | TychoBlender | 3,871 Kb |
A Pen by Theun | Tjoen | 6,152 Kb |
Table Exercise | Fresco | 9,585 Kb |
Add This API | ThatGuySam | 2,848 Kb |
Yuliya v krylova | Rafszul | 37,351 Kb |
LAMP PURE CSS with Animation | Dam62500 | 2,911 Kb |
Welcome | Nakome | 6,076 Kb |
Roman Numerical Converter | Vhall_io | 2,102 Kb |
Codero Sitemap | S1m0ne | 28,169 Kb |
Marching Squares Visualized | Sakri | 7,074 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!