Subtle Paper Curl

Developer
Size
2,608 Kb
Views
28,336

How do I make an subtle paper curl?

From http://www.sitepoint.com/pure-css3-paper-curls/. What is a subtle paper curl? How do you make a subtle paper curl? This script and codes were developed by John Lueders on 20 November 2022, Sunday.

Subtle Paper Curl Previews

Subtle Paper Curl - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Subtle Paper Curl</title> <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! */ html { background: #ccc; padding: 20px;
}
.paper { height: 100px; background: white; margin: 0 auto 20px; position: relative; width: 500px; padding: 50px; background-color: #fff; -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1); box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
}
.paper:before, .paper:after { position: absolute; width: 40%; height: 10px; content: ' '; left: 12px; bottom: 12px; background: transparent; transform: skew(-5deg) rotate(-5deg); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); z-index: -1;
}
.paper:after { left: auto; right: 12px; transform: skew(5deg) rotate(5deg);
} </style> <script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
</head>
<body> <div class="paper"> Subtle Paper Curl
</div>
<div class="paper"> Subtle Paper Curl
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>

Subtle Paper Curl - Script Codes CSS Codes

html { background: #ccc; padding: 20px;
}
.paper { height: 100px; background: white; margin: 0 auto 20px; position: relative; width: 500px; padding: 50px; background-color: #fff; -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1); -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1); box-shadow: 0 0 5px rgba(0, 0, 0, 0.2), inset 0 0 50px rgba(0, 0, 0, 0.1);
}
.paper:before, .paper:after { position: absolute; width: 40%; height: 10px; content: ' '; left: 12px; bottom: 12px; background: transparent; transform: skew(-5deg) rotate(-5deg); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); z-index: -1;
}
.paper:after { left: auto; right: 12px; transform: skew(5deg) rotate(5deg);
}
Subtle Paper Curl - Script Codes
Subtle Paper Curl - Script Codes
Home Page Home
Developer John Lueders
Username elmsoftware
Uploaded November 20, 2022
Rating 3
Size 2,608 Kb
Views 28,336
Do you need developer help for Subtle Paper Curl?

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!

John Lueders (elmsoftware) Script Codes
Create amazing art & images with AI!

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!