Split Showcase
How do I make an split showcase?
Photo showcase concept. Morphing image parts. Polygonal clip path animation. SASS each loop w/ maps. Pure CSS.. What is a split showcase? How do you make a split showcase? This script and codes were developed by Arsen Zbidniakov on 13 October 2022, Thursday.
Split Showcase - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Split Showcase</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <figure id="showcase"> <section></section> <section></section> <section></section> <section></section>
</figure> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Split Showcase - Script Codes CSS Codes
body { background: #000; overflow: hidden;
}
#showcase { display: flex; justify-content: center; align-items: center; margin: 0 auto; width: 1000px; height: 700px;
}
section { display: inline-block; position: relative; width: 25%; height: 100%; background-size: cover;
}
section:after { content: ''; position: absolute; top: 0; width: 100%; height: 100%; -moz-transition: all 0.5s; -o-transition: all 0.5s; -webkit-transition: all 0.5s; transition: all 0.5s;
}
section:nth-child(1) { -moz-animation: section-1 8s both infinite; -webkit-animation: section-1 8s both infinite; animation: section-1 8s both infinite;
}
@-moz-keyframes section-1 { 0%, 20%, 100% { background: url("https://unsplash.imgix.net/photo-1414924347000-9823c338079b?fit=crop&fm=jpg&h=700&q=75&w=1050") 0% 0%; -webkit-clip-path: polygon(23% 18%, 95% 13%, 100% 91%, 55% 87%); } 25%, 45% { background: url("https://unsplash.imgix.net/30/skater.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 0% 0%; -webkit-clip-path: polygon(95% 10%, 100% 80%, 62% 77%, 45% 12%); } 50%, 70% { background: url("https://unsplash.imgix.net/photo-1415226581130-91cb7f52f078?fit=crop&fm=jpg&h=700&q=75&w=1050") 0% 0%; -webkit-clip-path: polygon(100% 67%, 48% 63%, 28% 9%, 95% 3%); } 75%, 95% { background: url("https://ununsplash.imgix.net/40/lUUnN7VGSoWZ3noefeH7_Baker%20Beach-12.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 0% 0%; -webkit-clip-path: polygon(78% 72%, 58% 34%, 95% 27%, 100% 73%); }
}
@-webkit-keyframes section-1 { 0%, 20%, 100% { background: url("https://unsplash.imgix.net/photo-1414924347000-9823c338079b?fit=crop&fm=jpg&h=700&q=75&w=1050") 0% 0%; -webkit-clip-path: polygon(23% 18%, 95% 13%, 100% 91%, 55% 87%); } 25%, 45% { background: url("https://unsplash.imgix.net/30/skater.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 0% 0%; -webkit-clip-path: polygon(95% 10%, 100% 80%, 62% 77%, 45% 12%); } 50%, 70% { background: url("https://unsplash.imgix.net/photo-1415226581130-91cb7f52f078?fit=crop&fm=jpg&h=700&q=75&w=1050") 0% 0%; -webkit-clip-path: polygon(100% 67%, 48% 63%, 28% 9%, 95% 3%); } 75%, 95% { background: url("https://ununsplash.imgix.net/40/lUUnN7VGSoWZ3noefeH7_Baker%20Beach-12.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 0% 0%; -webkit-clip-path: polygon(78% 72%, 58% 34%, 95% 27%, 100% 73%); }
}
@keyframes section-1 { 0%, 20%, 100% { background: url("https://unsplash.imgix.net/photo-1414924347000-9823c338079b?fit=crop&fm=jpg&h=700&q=75&w=1050") 0% 0%; -webkit-clip-path: polygon(23% 18%, 95% 13%, 100% 91%, 55% 87%); } 25%, 45% { background: url("https://unsplash.imgix.net/30/skater.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 0% 0%; -webkit-clip-path: polygon(95% 10%, 100% 80%, 62% 77%, 45% 12%); } 50%, 70% { background: url("https://unsplash.imgix.net/photo-1415226581130-91cb7f52f078?fit=crop&fm=jpg&h=700&q=75&w=1050") 0% 0%; -webkit-clip-path: polygon(100% 67%, 48% 63%, 28% 9%, 95% 3%); } 75%, 95% { background: url("https://ununsplash.imgix.net/40/lUUnN7VGSoWZ3noefeH7_Baker%20Beach-12.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 0% 0%; -webkit-clip-path: polygon(78% 72%, 58% 34%, 95% 27%, 100% 73%); }
}
section:nth-child(2) { -moz-animation: section-2 8s both infinite; -webkit-animation: section-2 8s both infinite; animation: section-2 8s both infinite;
}
@-moz-keyframes section-2 { 0%, 20%, 100% { background: url("https://unsplash.imgix.net/photo-1414924347000-9823c338079b?fit=crop&fm=jpg&h=700&q=75&w=1050") 33.33333% 0%; -webkit-clip-path: polygon(0% 7%, 100% 9%, 95% 93%, 5% 95%); } 25%, 45% { background: url("https://unsplash.imgix.net/30/skater.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 33.33333% 0%; -webkit-clip-path: polygon(100% 3%, 95% 95%, 5% 90%, 0% 5%); } 50%, 70% { background: url("https://unsplash.imgix.net/photo-1415226581130-91cb7f52f078?fit=crop&fm=jpg&h=700&q=75&w=1050") 33.33333% 0%; -webkit-clip-path: polygon(95% 83%, 5% 78%, 0% 6%, 100% 11%); } 75%, 95% { background: url("https://ununsplash.imgix.net/40/lUUnN7VGSoWZ3noefeH7_Baker%20Beach-12.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 33.33333% 0%; -webkit-clip-path: polygon(5% 79%, 0% 21%, 100% 16%, 95% 83%); }
}
@-webkit-keyframes section-2 { 0%, 20%, 100% { background: url("https://unsplash.imgix.net/photo-1414924347000-9823c338079b?fit=crop&fm=jpg&h=700&q=75&w=1050") 33.33333% 0%; -webkit-clip-path: polygon(0% 7%, 100% 9%, 95% 93%, 5% 95%); } 25%, 45% { background: url("https://unsplash.imgix.net/30/skater.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 33.33333% 0%; -webkit-clip-path: polygon(100% 3%, 95% 95%, 5% 90%, 0% 5%); } 50%, 70% { background: url("https://unsplash.imgix.net/photo-1415226581130-91cb7f52f078?fit=crop&fm=jpg&h=700&q=75&w=1050") 33.33333% 0%; -webkit-clip-path: polygon(95% 83%, 5% 78%, 0% 6%, 100% 11%); } 75%, 95% { background: url("https://ununsplash.imgix.net/40/lUUnN7VGSoWZ3noefeH7_Baker%20Beach-12.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 33.33333% 0%; -webkit-clip-path: polygon(5% 79%, 0% 21%, 100% 16%, 95% 83%); }
}
@keyframes section-2 { 0%, 20%, 100% { background: url("https://unsplash.imgix.net/photo-1414924347000-9823c338079b?fit=crop&fm=jpg&h=700&q=75&w=1050") 33.33333% 0%; -webkit-clip-path: polygon(0% 7%, 100% 9%, 95% 93%, 5% 95%); } 25%, 45% { background: url("https://unsplash.imgix.net/30/skater.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 33.33333% 0%; -webkit-clip-path: polygon(100% 3%, 95% 95%, 5% 90%, 0% 5%); } 50%, 70% { background: url("https://unsplash.imgix.net/photo-1415226581130-91cb7f52f078?fit=crop&fm=jpg&h=700&q=75&w=1050") 33.33333% 0%; -webkit-clip-path: polygon(95% 83%, 5% 78%, 0% 6%, 100% 11%); } 75%, 95% { background: url("https://ununsplash.imgix.net/40/lUUnN7VGSoWZ3noefeH7_Baker%20Beach-12.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 33.33333% 0%; -webkit-clip-path: polygon(5% 79%, 0% 21%, 100% 16%, 95% 83%); }
}
section:nth-child(3) { -moz-animation: section-3 8s both infinite; -webkit-animation: section-3 8s both infinite; animation: section-3 8s both infinite;
}
@-moz-keyframes section-3 { 0%, 20%, 100% { background: url("https://unsplash.imgix.net/photo-1414924347000-9823c338079b?fit=crop&fm=jpg&h=700&q=75&w=1050") 66.66666% 0%; -webkit-clip-path: polygon(5% 11%, 100% 14%, 95% 88%, 0% 91%); } 25%, 45% { background: url("https://unsplash.imgix.net/30/skater.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 66.66666% 0%; -webkit-clip-path: polygon(100% 14%, 95% 84%, 0% 91%, 5% 7%); } 50%, 70% { background: url("https://unsplash.imgix.net/photo-1415226581130-91cb7f52f078?fit=crop&fm=jpg&h=700&q=75&w=1050") 66.66666% 0%; -webkit-clip-path: polygon(95% 79%, 0% 86%, 5% 7%, 100% 3%); } 75%, 95% { background: url("https://ununsplash.imgix.net/40/lUUnN7VGSoWZ3noefeH7_Baker%20Beach-12.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 66.66666% 0%; -webkit-clip-path: polygon(0% 85%, 5% 14%, 100% 3%, 95% 95%); }
}
@-webkit-keyframes section-3 { 0%, 20%, 100% { background: url("https://unsplash.imgix.net/photo-1414924347000-9823c338079b?fit=crop&fm=jpg&h=700&q=75&w=1050") 66.66666% 0%; -webkit-clip-path: polygon(5% 11%, 100% 14%, 95% 88%, 0% 91%); } 25%, 45% { background: url("https://unsplash.imgix.net/30/skater.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 66.66666% 0%; -webkit-clip-path: polygon(100% 14%, 95% 84%, 0% 91%, 5% 7%); } 50%, 70% { background: url("https://unsplash.imgix.net/photo-1415226581130-91cb7f52f078?fit=crop&fm=jpg&h=700&q=75&w=1050") 66.66666% 0%; -webkit-clip-path: polygon(95% 79%, 0% 86%, 5% 7%, 100% 3%); } 75%, 95% { background: url("https://ununsplash.imgix.net/40/lUUnN7VGSoWZ3noefeH7_Baker%20Beach-12.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 66.66666% 0%; -webkit-clip-path: polygon(0% 85%, 5% 14%, 100% 3%, 95% 95%); }
}
@keyframes section-3 { 0%, 20%, 100% { background: url("https://unsplash.imgix.net/photo-1414924347000-9823c338079b?fit=crop&fm=jpg&h=700&q=75&w=1050") 66.66666% 0%; -webkit-clip-path: polygon(5% 11%, 100% 14%, 95% 88%, 0% 91%); } 25%, 45% { background: url("https://unsplash.imgix.net/30/skater.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 66.66666% 0%; -webkit-clip-path: polygon(100% 14%, 95% 84%, 0% 91%, 5% 7%); } 50%, 70% { background: url("https://unsplash.imgix.net/photo-1415226581130-91cb7f52f078?fit=crop&fm=jpg&h=700&q=75&w=1050") 66.66666% 0%; -webkit-clip-path: polygon(95% 79%, 0% 86%, 5% 7%, 100% 3%); } 75%, 95% { background: url("https://ununsplash.imgix.net/40/lUUnN7VGSoWZ3noefeH7_Baker%20Beach-12.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 66.66666% 0%; -webkit-clip-path: polygon(0% 85%, 5% 14%, 100% 3%, 95% 95%); }
}
section:nth-child(4) { -moz-animation: section-4 8s both infinite; -webkit-animation: section-4 8s both infinite; animation: section-4 8s both infinite;
}
@-moz-keyframes section-4 { 0%, 20%, 100% { background: url("https://unsplash.imgix.net/photo-1414924347000-9823c338079b?fit=crop&fm=jpg&h=700&q=75&w=1050") 99.99999% 0%; -webkit-clip-path: polygon(5% 18%, 89% 21%, 62% 73%, 0% 83%); } 25%, 45% { background: url("https://unsplash.imgix.net/30/skater.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 99.99999% 0%; -webkit-clip-path: polygon(57% 31%, 45% 67%, 0% 77%, 5% 18%); } 50%, 70% { background: url("https://unsplash.imgix.net/photo-1415226581130-91cb7f52f078?fit=crop&fm=jpg&h=700&q=75&w=1050") 99.99999% 0%; -webkit-clip-path: polygon(45% 57%, 0% 67%, 5% 8%, 72% 12%); } 75%, 95% { background: url("https://ununsplash.imgix.net/40/lUUnN7VGSoWZ3noefeH7_Baker%20Beach-12.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 99.99999% 0%; -webkit-clip-path: polygon(0% 77%, 5% 18%, 47% 21%, 32% 67%); }
}
@-webkit-keyframes section-4 { 0%, 20%, 100% { background: url("https://unsplash.imgix.net/photo-1414924347000-9823c338079b?fit=crop&fm=jpg&h=700&q=75&w=1050") 99.99999% 0%; -webkit-clip-path: polygon(5% 18%, 89% 21%, 62% 73%, 0% 83%); } 25%, 45% { background: url("https://unsplash.imgix.net/30/skater.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 99.99999% 0%; -webkit-clip-path: polygon(57% 31%, 45% 67%, 0% 77%, 5% 18%); } 50%, 70% { background: url("https://unsplash.imgix.net/photo-1415226581130-91cb7f52f078?fit=crop&fm=jpg&h=700&q=75&w=1050") 99.99999% 0%; -webkit-clip-path: polygon(45% 57%, 0% 67%, 5% 8%, 72% 12%); } 75%, 95% { background: url("https://ununsplash.imgix.net/40/lUUnN7VGSoWZ3noefeH7_Baker%20Beach-12.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 99.99999% 0%; -webkit-clip-path: polygon(0% 77%, 5% 18%, 47% 21%, 32% 67%); }
}
@keyframes section-4 { 0%, 20%, 100% { background: url("https://unsplash.imgix.net/photo-1414924347000-9823c338079b?fit=crop&fm=jpg&h=700&q=75&w=1050") 99.99999% 0%; -webkit-clip-path: polygon(5% 18%, 89% 21%, 62% 73%, 0% 83%); } 25%, 45% { background: url("https://unsplash.imgix.net/30/skater.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 99.99999% 0%; -webkit-clip-path: polygon(57% 31%, 45% 67%, 0% 77%, 5% 18%); } 50%, 70% { background: url("https://unsplash.imgix.net/photo-1415226581130-91cb7f52f078?fit=crop&fm=jpg&h=700&q=75&w=1050") 99.99999% 0%; -webkit-clip-path: polygon(45% 57%, 0% 67%, 5% 8%, 72% 12%); } 75%, 95% { background: url("https://ununsplash.imgix.net/40/lUUnN7VGSoWZ3noefeH7_Baker%20Beach-12.jpg?fit=crop&fm=jpg&h=700&q=75&w=1050") 99.99999% 0%; -webkit-clip-path: polygon(0% 77%, 5% 18%, 47% 21%, 32% 67%); }
}
@media (max-width: 1000px) { #showcase { position: absolute; top: -115px; left: -200px; margin: 0; -moz-transform: scale(0.65, 0.65); -ms-transform: scale(0.65, 0.65); -webkit-transform: scale(0.65, 0.65); transform: scale(0.65, 0.65); }
}
Split Showcase - Script Codes JS Codes
/* Pure CSS photo gallery concept. Images by http://unsplash.com
*/
Developer | Arsen Zbidniakov |
Username | ARS |
Uploaded | October 13, 2022 |
Rating | 4.5 |
Size | 3,789 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 |
IPhone lockscreen | 3,923 Kb |
Animated Gradient Ghost Button Concept | 3,590 Kb |
Shattering Text Animation | 5,244 Kb |
Understanding CSS clip | 8,794 Kb |
Infinity Morph | 2,974 Kb |
GSAP Text Animation | 2,777 Kb |
Pastel Loader | 3,365 Kb |
ELEKS Digital Production | 9,176 Kb |
Apple Devices Mockup | 2,484 Kb |
HTML5 Audio Player | 5,934 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 |
Resize image | Happyhj | 1,892 Kb |
Pure CSS Read More Arrow | Zephyr | 1,747 Kb |
Find The Penguin | Lelder | 2,212 Kb |
Simple CSS loader. | Cabrera | 2,574 Kb |
Twitch TV | Natester13 | 4,488 Kb |
Resume | Rottingroom | 5,483 Kb |
Welcome | Nakome | 6,076 Kb |
Glitchy Text Effect | Kescoe | 2,208 Kb |
Navcube | Wbarlow | 4,775 Kb |
Simple Login Form Template | Banunn | 3,571 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!