CSS Page Curl Shadows
How do I make an css page curl shadows?
Made possible by: https://twitter.com/pixleight. What is a css page curl shadows? How do you make a css page curl shadows? This script and codes were developed by Bottomline Interactive on 25 September 2022, Sunday.
CSS Page Curl Shadows - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>CSS Page Curl Shadows</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css"> <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! */ @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300);
html { background: #DEF; background: -moz-linear-gradient(45deg, #EFF, #DEF); background: -ms-linear-gradient(45deg, #EFF, #DEF); background: -webkit-linear-gradient(45deg, #EFF, #DEF); background: linear-gradient(45deg, #EFF, #DEF); min-height: 100%; font-family: "Open Sans", Helvetica, sans-serif; font-weight: 300;
}
h1, h2 { font-weight: 400; text-shadow: 0 1px 0 #FFF;
}
h1 { width: 800px; margin: 0 auto;
}
p { font: 300 13px/20px Arial,sans-serif; color: #888;
}
.page-curl { background: #FFFFFF; background: -moz-linear-gradient(0deg, #F5F5F5 0%, #FFF 25%, #FFF 75%, #F5F5F5 100%); background: -ms-linear-gradient(0deg, #F5F5F5 0%, #FFF 25%, #FFF 75%, #F5F5F5 100%); background: -webkit-linear-gradient(0deg, #F5F5F5 0%, #FFF 25%, #FFF 75%, #F5F5F5 100%); background: linear-gradient(0deg, #F5F5F5 0%, #FFF 25%, #FFF 75%, #F5F5F5 100%); border: 1px solid #777777; -moz-border-radius: 6px 6px 6px 6px; -webkit-border-radius: 6px 6px 6px 6px; border-radius: 6px 6px 6px 6px; -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.5); box-shadow: 0 0 6px rgba(0, 0, 0, 0.5); margin: 50px auto; padding: 15px; position: relative; width: 800px;
}
.page-curl:before, .page-curl:after { background: none; bottom: 12px; -moz-box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5); box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5); content: ""; height: 10px; left: 12px; position: absolute; width: 40%; z-index: -1; -moz-transform: skew(-4deg) rotate(-4deg); -webkit-transform: skew(-4deg) rotate(-4deg); transform: skew(-4deg) rotate(-4deg);
}
.page-curl:after { -moz-transform: skew(4deg) rotate(4deg); -webkit-transform: skew(4deg) rotate(4deg); transform: skew(4deg) rotate(4deg); left: auto; right: 12px;
}
.page-curl.shadow-left { background: -moz-linear-gradient(0deg, #F5F5F5 0%, #FFF 50%) !important; background: -ms-linear-gradient(0deg, #F5F5F5 0%, #FFF 50%) !important; background: -webkit-linear-gradient(0deg, #F5F5F5 0%, #FFF 50%) !important; background: linear-gradient(0deg, #F5F5F5 0%, #FFF 50%) !important;
}
.page-curl.shadow-right { background: -moz-linear-gradient(0deg, #FFF 50%, #F5F5F5 100%) !important; background: -ms-linear-gradient(0deg, #FFF 50%, #F5F5F5 100%) !important; background: -webkit-linear-gradient(0deg, #FFF 50%, #F5F5F5 100%) !important; background: linear-gradient(0deg, #FFF 50%, #F5F5F5 100%) !important;
}
.shadow-bottom:before, .shadow-bottom:after { top: auto; bottom: 12px; -moz-box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5); box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5);
}
.shadow-left:after { display: none;
}
.shadow-right:before { display: none;
}
.shadow-top-bottom.shadow-left:after { display: block; bottom: auto; top: 15px; right: auto; left: 12px; -moz-box-shadow: 0 -10px 12px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 -10px 12px rgba(0, 0, 0, 0.5); box-shadow: 0 -10px 12px rgba(0, 0, 0, 0.5);
}
.shadow-top-bottom.shadow-right:before { display: block; bottom: auto; top: 15px; right: 12px; left: auto; -moz-box-shadow: 0 -10px 12px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 -10px 12px rgba(0, 0, 0, 0.5); box-shadow: 0 -10px 12px rgba(0, 0, 0, 0.5);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="page-curl shadow-bottom"> <h2>Bottom shadow, both sides</h2> <p>Freegan fixie banh mi, pickled art party trust fund iphone blog etsy occupy cardigan fap ethnic. Sartorial sriracha vinyl lo-fi cardigan. Tofu fingerstache vegan, shoreditch marfa pour-over occupy 8-bit american apparel four loko fixie lomo vice. Freegan irony chambray jean shorts PBR selvage. PBR messenger bag VHS, umami sustainable godard portland single-origin coffee. Wolf whatever butcher messenger bag yr american apparel fap. Tattooed master cleanse cred, narwhal gluten-free sriracha organic next level put a bird on it.</p>
</div>
<div class="page-curl shadow-bottom shadow-right"> <h2>Bottom shadow, right side</h2> <p>Freegan fixie banh mi, pickled art party trust fund iphone blog etsy occupy cardigan fap ethnic. Sartorial sriracha vinyl lo-fi cardigan. Tofu fingerstache vegan, shoreditch marfa pour-over occupy 8-bit american apparel four loko fixie lomo vice. Freegan irony chambray jean shorts PBR selvage. PBR messenger bag VHS, umami sustainable godard portland single-origin coffee. Wolf whatever butcher messenger bag yr american apparel fap. Tattooed master cleanse cred, narwhal gluten-free sriracha organic next level put a bird on it.</p>
</div>
<div class="page-curl shadow-bottom shadow-left"> <h2>Bottom shadow, left side</h2> <p>Freegan fixie banh mi, pickled art party trust fund iphone blog etsy occupy cardigan fap ethnic. Sartorial sriracha vinyl lo-fi cardigan. Tofu fingerstache vegan, shoreditch marfa pour-over occupy 8-bit american apparel four loko fixie lomo vice. Freegan irony chambray jean shorts PBR selvage. PBR messenger bag VHS, umami sustainable godard portland single-origin coffee. Wolf whatever butcher messenger bag yr american apparel fap. Tattooed master cleanse cred, narwhal gluten-free sriracha organic next level put a bird on it.</p>
</div>
<div class="page-curl shadow-top-bottom shadow-right"> <h2>Top & Bottom shadow, right side</h2> <p>Freegan fixie banh mi, pickled art party trust fund iphone blog etsy occupy cardigan fap ethnic. Sartorial sriracha vinyl lo-fi cardigan. Tofu fingerstache vegan, shoreditch marfa pour-over occupy 8-bit american apparel four loko fixie lomo vice. Freegan irony chambray jean shorts PBR selvage. PBR messenger bag VHS, umami sustainable godard portland single-origin coffee. Wolf whatever butcher messenger bag yr american apparel fap. Tattooed master cleanse cred, narwhal gluten-free sriracha organic next level put a bird on it.</p>
</div>
<div class="page-curl shadow-top-bottom shadow-left"> <h2>Top & Bottom shadow, left side</h2> <p>Freegan fixie banh mi, pickled art party trust fund iphone blog etsy occupy cardigan fap ethnic. Sartorial sriracha vinyl lo-fi cardigan. Tofu fingerstache vegan, shoreditch marfa pour-over occupy 8-bit american apparel four loko fixie lomo vice. Freegan irony chambray jean shorts PBR selvage. PBR messenger bag VHS, umami sustainable godard portland single-origin coffee. Wolf whatever butcher messenger bag yr american apparel fap. Tattooed master cleanse cred, narwhal gluten-free sriracha organic next level put a bird on it.</p>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
CSS Page Curl Shadows - Script Codes CSS Codes
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300);
html { background: #DEF; background: -moz-linear-gradient(45deg, #EFF, #DEF); background: -ms-linear-gradient(45deg, #EFF, #DEF); background: -webkit-linear-gradient(45deg, #EFF, #DEF); background: linear-gradient(45deg, #EFF, #DEF); min-height: 100%; font-family: "Open Sans", Helvetica, sans-serif; font-weight: 300;
}
h1, h2 { font-weight: 400; text-shadow: 0 1px 0 #FFF;
}
h1 { width: 800px; margin: 0 auto;
}
p { font: 300 13px/20px Arial,sans-serif; color: #888;
}
.page-curl { background: #FFFFFF; background: -moz-linear-gradient(0deg, #F5F5F5 0%, #FFF 25%, #FFF 75%, #F5F5F5 100%); background: -ms-linear-gradient(0deg, #F5F5F5 0%, #FFF 25%, #FFF 75%, #F5F5F5 100%); background: -webkit-linear-gradient(0deg, #F5F5F5 0%, #FFF 25%, #FFF 75%, #F5F5F5 100%); background: linear-gradient(0deg, #F5F5F5 0%, #FFF 25%, #FFF 75%, #F5F5F5 100%); border: 1px solid #777777; -moz-border-radius: 6px 6px 6px 6px; -webkit-border-radius: 6px 6px 6px 6px; border-radius: 6px 6px 6px 6px; -moz-box-shadow: 0 0 6px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.5); box-shadow: 0 0 6px rgba(0, 0, 0, 0.5); margin: 50px auto; padding: 15px; position: relative; width: 800px;
}
.page-curl:before, .page-curl:after { background: none; bottom: 12px; -moz-box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5); box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5); content: ""; height: 10px; left: 12px; position: absolute; width: 40%; z-index: -1; -moz-transform: skew(-4deg) rotate(-4deg); -webkit-transform: skew(-4deg) rotate(-4deg); transform: skew(-4deg) rotate(-4deg);
}
.page-curl:after { -moz-transform: skew(4deg) rotate(4deg); -webkit-transform: skew(4deg) rotate(4deg); transform: skew(4deg) rotate(4deg); left: auto; right: 12px;
}
.page-curl.shadow-left { background: -moz-linear-gradient(0deg, #F5F5F5 0%, #FFF 50%) !important; background: -ms-linear-gradient(0deg, #F5F5F5 0%, #FFF 50%) !important; background: -webkit-linear-gradient(0deg, #F5F5F5 0%, #FFF 50%) !important; background: linear-gradient(0deg, #F5F5F5 0%, #FFF 50%) !important;
}
.page-curl.shadow-right { background: -moz-linear-gradient(0deg, #FFF 50%, #F5F5F5 100%) !important; background: -ms-linear-gradient(0deg, #FFF 50%, #F5F5F5 100%) !important; background: -webkit-linear-gradient(0deg, #FFF 50%, #F5F5F5 100%) !important; background: linear-gradient(0deg, #FFF 50%, #F5F5F5 100%) !important;
}
.shadow-bottom:before, .shadow-bottom:after { top: auto; bottom: 12px; -moz-box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5); box-shadow: 0 10px 12px rgba(0, 0, 0, 0.5);
}
.shadow-left:after { display: none;
}
.shadow-right:before { display: none;
}
.shadow-top-bottom.shadow-left:after { display: block; bottom: auto; top: 15px; right: auto; left: 12px; -moz-box-shadow: 0 -10px 12px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 -10px 12px rgba(0, 0, 0, 0.5); box-shadow: 0 -10px 12px rgba(0, 0, 0, 0.5);
}
.shadow-top-bottom.shadow-right:before { display: block; bottom: auto; top: 15px; right: 12px; left: auto; -moz-box-shadow: 0 -10px 12px rgba(0, 0, 0, 0.5); -webkit-box-shadow: 0 -10px 12px rgba(0, 0, 0, 0.5); box-shadow: 0 -10px 12px rgba(0, 0, 0, 0.5);
}
![CSS Page Curl Shadows - Script Codes](http://shots.codepen.io/BottomlineInteractive/pen/usHGI-512.jpg)
Developer | Bottomline Interactive |
Username | BottomlineInteractive |
Uploaded | September 25, 2022 |
Rating | 3 |
Size | 3,461 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 |
Unusual Underline | 1,805 Kb |
Simple round Numbered Styling | 1,780 Kb |
Cut N Paste Css Boxes | 6,418 Kb |
A Pen by Bottomline Interactive | 2,392 Kb |
Show hide list | 2,760 Kb |
Custom Animated Select Box | 2,467 Kb |
IE10 Conditional Statement | 1,990 Kb |
Glow hover input field | 2,232 Kb |
Cut and Paste Roll Link | 2,546 Kb |
Cut and Paste CSS Effects | 2,373 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 |
Day 11 - Calendar Card | Arnellebalane | 6,984 Kb |
Alter bg opacity on hover... | Chrisboon27 | 2,054 Kb |
Delete Hover | Chungman93 | 2,557 Kb |
Twitch JSON API | Jvhti | 2,808 Kb |
Video Player Custom Controls | EleftheriaBatsou | 3,665 Kb |
Using Flickr API | MoyArt | 6,761 Kb |
Simple Responsive Text | Fbrz | 2,282 Kb |
Obligatory CSS3 UI Nav | Romandiaz | 9,017 Kb |
Update CSS Variables with JS | Wesbos | 2,335 Kb |
Simple personal profile | Miroot | 2,856 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!