CSS Stacked Paper Effect
How do I make an css stacked paper effect?
Creating a messy stack of papers using the magic of CSS transforms and generated content.. What is a css stacked paper effect? How do you make a css stacked paper effect? This script and codes were developed by Michael MartinSmucker on 28 September 2022, Wednesday.
CSS Stacked Paper Effect - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Stacked Paper Effect</title> <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! */ body { background: linear-gradient(#ccc, #fff); font: 14px sans-serif; padding: 20px;
}
.letter { background: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.3); margin: 26px auto 0; max-width: 550px; min-height: 300px; padding: 24px; position: relative; width: 80%;
}
.letter:before, .letter:after { content: ""; height: 98%; position: absolute; width: 100%; z-index: -1;
}
.letter:before { background: #fafafa; box-shadow: 0 0 8px rgba(0,0,0,0.2); left: -5px; top: 4px; transform: rotate(-2.5deg);
}
.letter:after { background: #f6f6f6; box-shadow: 0 0 3px rgba(0,0,0,0.2); right: -3px; top: 1px; transform: rotate(1.4deg);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="letter"> <p>Dear Friends,</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent euismod porta tempor. Donec pulvinar turpis nec velit pellentesque quis rhoncus sapien facilisis. Mauris quis massa dui, rhoncus viverra quam. Nulla tempus, augue ut consectetur facilisis, arcu elit pellentesque arcu, sed rutrum orci turpis pulvinar augue. Donec eget arcu mauris. Vestibulum tristique consequat lacus eget laoreet. Integer sed nisl sed nibh pulvinar ornare quis nec quam. Aenean rhoncus ligula ut lectus placerat a commodo quam vulputate. In eu metus turpis.</p> <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus facilisis erat in nibh auctor at aliquet velit vestibulum. Curabitur turpis diam, malesuada eu consequat eget, ultricies sed nunc. Aenean sed odio massa. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ornare vulputate congue. Quisque leo metus, condimentum nec molestie et, egestas luctus libero.</p> <p>Mauris porta odio augue. Nam turpis dui, volutpat id feugiat vitae, sagittis a justo. Nam iaculis aliquet erat non varius. Suspendisse justo arcu, tincidunt sed auctor sit amet, fermentum id turpis. Suspendisse sed enim quis lorem vestibulum fermentum a ut nulla.</p> <p>Nullam tincidunt elit quis nibh blandit interdum. Duis ullamcorper pellentesque pretium. Nulla facilisi. Morbi semper nisi et justo varius non fermentum metus ornare. Proin vehicula, mi vel volutpat accumsan, libero lacus euismod massa, id feugiat velit enim nec ligula. Aliquam ipsum est, volutpat aliquam tincidunt id, sagittis et velit. Nunc vitae massa vel dui facilisis consectetur vel id sem.</p> <p>Aenean pulvinar, lacus ultrices euismod viverra, nulla diam interdum ligula, id mollis mi erat quis lectus. Morbi quis felis ut turpis condimentum dictum porttitor id mauris. Nam non tincidunt mauris. Donec viverra eleifend pharetra. Nulla eu ipsum et elit consectetur rutrum. Integer lorem purus, ultricies ac laoreet quis, feugiat vel dolor. Donec eu turpis neque. Nullam molestie sapien eu nibh semper sed convallis est pretium.</p>
</div>
</body>
</html>
CSS Stacked Paper Effect - Script Codes CSS Codes
body { background: linear-gradient(#ccc, #fff); font: 14px sans-serif; padding: 20px;
}
.letter { background: #fff; box-shadow: 0 0 10px rgba(0,0,0,0.3); margin: 26px auto 0; max-width: 550px; min-height: 300px; padding: 24px; position: relative; width: 80%;
}
.letter:before, .letter:after { content: ""; height: 98%; position: absolute; width: 100%; z-index: -1;
}
.letter:before { background: #fafafa; box-shadow: 0 0 8px rgba(0,0,0,0.2); left: -5px; top: 4px; transform: rotate(-2.5deg);
}
.letter:after { background: #f6f6f6; box-shadow: 0 0 3px rgba(0,0,0,0.2); right: -3px; top: 1px; transform: rotate(1.4deg);
}
![CSS Stacked Paper Effect - Script Codes](http://shots.codepen.io/mlms13/pen/LKFoy-512.jpg)
Developer | Michael MartinSmucker |
Username | mlms13 |
Uploaded | September 28, 2022 |
Rating | 4.5 |
Size | 3,031 Kb |
Views | 20,240 |
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 |
Table with rounded corners | 1,953 Kb |
FancyArea Demo | 9,550 Kb |
Boxes and Headings | 2,894 Kb |
Magic Color Picker | 3,768 Kb |
Panel Slider | 5,242 Kb |
CSS Floppy Disk Icon | 3,062 Kb |
CSS3 ribbons with Unicode icons | 2,477 Kb |
4-up Grid Block | 2,213 Kb |
SVG Donut Loading Spinner | 3,876 Kb |
Sticker Tiles | 7,732 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 |
Lightrays v2 | Sinthetyc | 2,903 Kb |
CSS3 Animated buttons | Cguillou | 3,737 Kb |
Velocity.js custom stagger | Tommiehansen | 4,805 Kb |
JS Beispiel getElementsByClassName 3 | HSZG-Frontend-Kurs | 1,988 Kb |
BabyStore | Pablo-Ai | 3,807 Kb |
Commuter Line Tokyu 8500 | Pedox | 7,031 Kb |
Nice responsive team page | Infomiho | 3,139 Kb |
Twitch API | Coderpilot | 3,412 Kb |
Social Profiles | Lachlanjc | 1,939 Kb |
Portfolio Layout Flex | Lahvjal | 3,489 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!