Animated CSS only 3D paper fold text effect
How do I make an animated css only 3d paper fold text effect?
The animated version of my attempt at a paper folding effect with text so that it looks like it's coming off the page. . What is a animated css only 3d paper fold text effect? How do you make a animated css only 3d paper fold text effect? This script and codes were developed by Mandy Michael on 16 December 2022, Friday.
Animated CSS only 3D paper fold text effect - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Animated CSS only 3D paper fold text effect</title> <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:700,900" rel="stylesheet"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="wrapper"> <h1 contenteditable data-heading="Folded">Folded</h1>
</div> <script src="js/index.js"></script>
</body>
</html>
Animated CSS only 3D paper fold text effect - Script Codes CSS Codes
html, body { height: 100%;
}
body { background: -webkit-linear-gradient(45deg, #e6e2df 80%, #c2c1bd 100%); background: linear-gradient(45deg, #e6e2df 80%, #c2c1bd 100%); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
.wrapper { width: 100%; font-family: 'Source Code Pro', monospace; margin: 0 auto; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.wrapper h1 { text-transform: uppercase; -webkit-transform: translate(-50%, -50%) skew(10deg) rotate(-10deg); transform: translate(-50%, -50%) skew(10deg) rotate(-10deg); font-size: 20vw; top: 50%; left: 50%; margin: 0; position: absolute; font-weight: 900; color: rgba(255, 158, 177, 0.5); text-shadow: 1px 4px 6px #e6e2df, 0 0 0 #66303a, 1px 4px 6px #e6e2df; white-space: nowrap;
}
.wrapper h1::before { content: attr(data-heading); position: absolute; left: 0; top: 0; overflow: hidden; width: 100%; height: 51%; color: #fbf7f4; text-shadow: 2px -1px 6px transparent; -webkit-transition: all 250ms ease-in-out; transition: all 250ms ease-in-out;
}
.wrapper h1:hover::before { -webkit-transform: translate(1.6vw, -10%) skew(-13deg) scale(1, 1.2); transform: translate(1.6vw, -10%) skew(-13deg) scale(1, 1.2); text-shadow: 2px -1px 6px rgba(0, 0, 0, 0.2); height: 50%;
}
.wrapper h1::after { content: attr(data-heading); position: absolute; left: 0; top: 0; color: #fbf7f4; -webkit-transform: skew(0) scale(1, 1); transform: skew(0) scale(1, 1); -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0% 100%); clip-path: polygon(0 50%, 100% 50%, 100% 100%, 0% 100%); text-shadow: 2px -1px 6px transparent; -webkit-transition: all 250ms ease; transition: all 250ms ease; -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.wrapper h1:hover::after { -webkit-transform: skew(13deg) scale(1, 0.8); transform: skew(13deg) scale(1, 0.8); text-shadow: 2px -1px 6px rgba(0, 0, 0, 0.3); color: #d3cfcc;
}
Animated CSS only 3D paper fold text effect - Script Codes JS Codes
// JS for content editable trick from Chris Coyier
var h1 = document.querySelector("h1");
h1.addEventListener("input", function() { this.setAttribute("data-heading", this.innerText);
});
Developer | Mandy Michael |
Username | mandymichael |
Uploaded | December 16, 2022 |
Rating | 4.5 |
Size | 3,471 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 |
Three way split with clip-path | 2,852 Kb |
80s style text with clip path and layered fonts | 3,618 Kb |
Page layout text effects with clip-path | 3,988 Kb |
Lines and layered css text effects | 3,570 Kb |
CSS Blend Mode Text Effect | 2,676 Kb |
Angled Split Text Colour | 2,909 Kb |
Think outside the div | 3,910 Kb |
Vertical split layout text effect | 2,640 Kb |
Editable layered textured fonts | 2,909 Kb |
Split fractured text | 2,857 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 |
Hover Animation from UNIQLO | Insprd | 3,772 Kb |
Two Element Typeface | Chrisota | 4,942 Kb |
Kut D3 | Jellevrswk | 3,687 Kb |
Barber Shop | Bhlaird | 6,270 Kb |
Starfield old school style | Bolloxim | 5,214 Kb |
A Pen by Xand0r | Xand0r | 1,928 Kb |
Image Hover | Johnheiner | 3,409 Kb |
Countdown Timer | Massiebn | 3,001 Kb |
Improve | Gavra | 1,652 Kb |
Off Canvas | Mariamarica | 1,870 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!