Pure css thumbnails hover
How do I make an pure css thumbnails hover?
This is a sample of lesson.. What is a pure css thumbnails hover? How do you make a pure css thumbnails hover? This script and codes were developed by Keisuke Takahashi on 19 November 2022, Saturday.
Pure css thumbnails hover - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Pure css thumbnails hover</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>
</ul>
</body>
</html>
Pure css thumbnails hover - 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; text-align:center; list-style:none; position:relative;
}
li { position:absolute; left:0; top:0; width:300px; height:300px; line-height:300px;
}
li div { width:300px; height:300px; font-size:2em;
}
li:nth-child(1) div { background:#fff;color:black; }
li:nth-child(2) div { background:yellow;opacity:0;}
li:nth-child(3) div { background:pink;opacity:0;}
li:nth-child(4) div { background:green;opacity:0;}
li span { position:absolute; display:block; cursor:pointer; bottom:-105px; width:100px; height:100px; line-height:100px; opacity:0.5; -webkit-transition:0.4s; -moz-transition:0.4s; transition:0.4s;
}
li:nth-child(2) span { background:yellow;left:0; }
li:nth-child(3) span { background:pink;left:100px; }
li:nth-child(4) span { background:green;left:200px; }
li span:hover { opacity:1; z-index:200;
}
li span:hover + div { opacity:1; z-index:100;
}
Developer | Keisuke Takahashi |
Username | ksksoft |
Uploaded | November 19, 2022 |
Rating | 3 |
Size | 1,773 Kb |
Views | 30,360 |
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 |
One div DORAEMON | 2,448 Kb |
Figure 8 animation Type 2 | 1,925 Kb |
Equalizer | 2,009 Kb |
CSS Slot Machine | 3,111 Kb |
Pure css Parallax header | 2,143 Kb |
Real eye with CSS Sfumato | 2,734 Kb |
Pure CSS candle light animation by One element | 2,193 Kb |
Gooey text melt away... | 2,420 Kb |
Pure CSS Drawer Menu | 2,472 Kb |
SVG PIE Chart with CSS animation | 2,107 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 |
Box Shadow Effects | Retrofuturistic | 2,143 Kb |
Css Rotating 3d cubes different speed | Dghez | 2,364 Kb |
JavaScript constructors | Simboonlong | 2,415 Kb |
Background Images | Jooonebug | 2,100 Kb |
Wrap_Test | Mscfourn | 7,503 Kb |
Blog Concept - Single Post | Marionebl | 9,603 Kb |
Responsive slide | Thorien | 2,400 Kb |
Word Wrap Algorithm for Multiline Canvas Text | Peterhry | 2,349 Kb |
Two column of responsive height | Fixie | 2,908 Kb |
Angular Route | Arun_v606 | 1,837 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!