Folding
How do I make an folding?
What is a folding? How do you make a folding? This script and codes were developed by Ee Venn Soh on 07 September 2022, Wednesday.
Folding - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Folding</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <style> /* NOTE: The styles were added inline because Prefixfree needs access to your styles and they must be inlined if they are on local disk! */ .view { width: 340px; height: 200px; background: black; perspective: 800px;
}
.slice { width: 60px; height: 100%; transform-style: preserve-3d; transform-origin: left center; transition: transform 150ms ease-in-out;
}
.s2, .s3, .s4, .s5 { transform: translate3d(60px, 0, 0);
}
.overlay { width: 60px; height: 100%; opacity: 0; position: absolute; transition: opacity 150ms ease-in-out;
}
.view:hover .overlay { opacity: 1;
}
.view:hover .s1 { transition-delay: 200ms; transform: rotate3d(0,1,0,-3deg);
}
.view:hover .s2{ transition-delay: 150ms; transform: translate3d(59px,0,0) rotate3d(0,1,0,-10deg);
}
.view:hover .s3{ transition-delay: 100ms; transform: translate3d(59px,0,0) rotate3d(0,1,0,-16deg);
}
.view:hover .s4 { transition-delay: 50ms; transform: translate3d(59px,0,0) rotate3d(0,1,0,-30deg);
}
.view:hover .s5 { transform: translate3d(60px,0,0) rotate3d(0,1,0,-42deg);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="view"> <div class="slice s1" style="background-color: #111;"><span class="overlay"></span> <div class="slice s2" style="background-color: #222"><span class="overlay"></span> <div class="slice s3" style="background-color: #333;"><span class="overlay"></span> <div class="slice s4" style="background-color: #444;"><span class="overlay"></span> <div class="slice s5" style="background-color: #555;"><span class="overlay"></span> </div> </div> </div> </div> </div> </div>
</body>
</html>
Folding - Script Codes CSS Codes
.view { width: 340px; height: 200px; background: black; perspective: 800px;
}
.slice { width: 60px; height: 100%; transform-style: preserve-3d; transform-origin: left center; transition: transform 150ms ease-in-out;
}
.s2, .s3, .s4, .s5 { transform: translate3d(60px, 0, 0);
}
.overlay { width: 60px; height: 100%; opacity: 0; position: absolute; transition: opacity 150ms ease-in-out;
}
.view:hover .overlay { opacity: 1;
}
.view:hover .s1 { transition-delay: 200ms; transform: rotate3d(0,1,0,-3deg);
}
.view:hover .s2{ transition-delay: 150ms; transform: translate3d(59px,0,0) rotate3d(0,1,0,-10deg);
}
.view:hover .s3{ transition-delay: 100ms; transform: translate3d(59px,0,0) rotate3d(0,1,0,-16deg);
}
.view:hover .s4 { transition-delay: 50ms; transform: translate3d(59px,0,0) rotate3d(0,1,0,-30deg);
}
.view:hover .s5 { transform: translate3d(60px,0,0) rotate3d(0,1,0,-42deg);
}
Developer | Ee Venn Soh |
Username | vennsoh |
Uploaded | September 07, 2022 |
Rating | 3 |
Size | 2,184 Kb |
Views | 32,384 |
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 |
CSS Pattern | 2,056 Kb |
Smiley Egg | 5,786 Kb |
A Pen by Ee Venn Soh | 2,469 Kb |
Blackout | 23,023 Kb |
UI | 3,031 Kb |
Crazy Ball | 2,767 Kb |
Meteor Rain | 2,827 Kb |
Polygon Dodecahedron in CSS | 7,606 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 |
Material Design-Layout-Principles Practice | Fraina | 2,331 Kb |
CSS Heart Loaders | Nourabusoud | 2,161 Kb |
Box Shadow Effects | Retrofuturistic | 2,143 Kb |
Buttons with style | Chbymnky | 2,082 Kb |
NgEasyModal | Lorenzodianni | 4,159 Kb |
Toggle Time | Petebot | 5,345 Kb |
JQuery FullScreen Overlay | _codemics | 2,252 Kb |
Caputre Cam with JS | KimmoCommit | 2,795 Kb |
Elephants Full screen site | Orrinward | 3,981 Kb |
Old calculator | Gnarfugh | 2,815 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!