CSS Slide Show
How do I make an css slide show?
Adapted from http://snook.ca/archives/html_and_css/simplest-css-slideshow. What is a css slide show? How do you make a css slide show? This script and codes were developed by JR Jenkins on 04 October 2022, Tuesday.
CSS Slide Show - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Slide Show</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="fadein"> <img src="http://farm3.static.flickr.com/2610/4148988872_990b6da667.jpg"> <img src="http://farm3.static.flickr.com/2597/4121218611_040cd7b3f2.jpg"> <img src="http://farm3.static.flickr.com/2531/4121218751_ac8bf49d5d.jpg">
</div>
</body>
</html>
CSS Slide Show - Script Codes CSS Codes
body { font-family: Arial, Helvetica, sans-serif; font-size: 12px;
}
@keyframes fade { 0% { opacity: 0; } 11.11% { opacity: 1; } 33.33% { opacity: 1; } 44.44% { opacity: 0; } 100% { opacity: 0; }
}
.fadein { position: relative; height: 332px; width: 500px; outline: 1px solid blue;
}
.fadein img { position: absolute; left: 0; right: 0; opacity: 0; animation-name: fade; animation-duration: 9s; animation-iteration-count: infinite;
}
.fadein img:nth-child(1) { animation-delay: 0s;
}
.fadein img:nth-child(2) { animation-delay: 3s;
}
.fadein img:nth-child(3) { animation-delay: 6s;
}
.fadein2 img { position: absolute; left: 0; right: 0; opacity: 0; animation-name: fade; animation-duration: 12s; animation-iteration-count: infinite;
}
@keyframes fader { 0% { opacity: 0; } 8.33333% { opacity: 1; } 25% { opacity: 1; } 33.33333% { opacity: 0; } 100% { opacity: 0; }
}
.fadein2 img:nth-child(1) { animation-delay: 0s;
}
.fadein2 img:nth-child(2) { animation-delay: 3s;
}
.fadein2 img:nth-child(3) { animation-delay: 6s;
}
.fadein2 img:nth-child(4) { animation-delay: 9s;
}
Developer | JR Jenkins |
Username | jrjenk |
Uploaded | October 04, 2022 |
Rating | 3 |
Size | 2,856 Kb |
Views | 24,288 |
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 |
COA Color Swatches | 4,665 Kb |
A Pen by JR Jenkins | 2,697 Kb |
Reminder about Geolocation | 1,875 Kb |
Simple jQuery Accordion Example | 3,104 Kb |
UAC Decode Online | 2,411 Kb |
BARcade Project Demo | 254,852 Kb |
Style Comments | 3,229 Kb |
Konami Code example | 2,322 Kb |
Working around OS X Dynamic Scrollbars | 2,279 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 |
A Pen by Sooba | Sooba | 2,516 Kb |
TestTube CSS | EZPK | 2,710 Kb |
Heartbeat | Apetrov | 2,079 Kb |
Social Profiles | Lachlanjc | 1,939 Kb |
Double box-shadow | Daubac402 | 1,436 Kb |
DevCamp 2014 - Denver Public Library | See8ch | 5,033 Kb |
Perforated foil | 0x04 | 2,617 Kb |
Modal Dialog | Gigaleet | 2,251 Kb |
Table Exercise | Fresco | 9,585 Kb |
GsuiPopup | Mr21 | 2,641 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!