Simple slanted corner
How do I make an simple slanted corner?
What is a simple slanted corner? How do you make a simple slanted corner? This script and codes were developed by Brad Bodine on 11 August 2022, Thursday.
Simple slanted corner - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple slanted corner</title> <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="slanted"> <h1>Simple slanted corner</h1> <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p> <p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend.</p>
</div>
</body>
</html>
Simple slanted corner - Script Codes CSS Codes
.slanted { position: relative; margin: 30px auto; width: 100%; max-width: 500px; overflow: hidden; padding: 0px 0px 0px 0px; padding: 20px;
}
.slanted:before, .slanted:after { content: ''; position: absolute; width: 100%; bottom: 0; right: 0; z-index: -1; /* required */
}
.slanted:before { height: 100%; /* required */ background-color: green; bottom: 40px;
}
.slanted:after { border-top: 40px solid green; border-right: 40px solid transparent;
}
body { background-image: url("data:image/gif;base64,R0lGODlhBAAEAIAAAAAAAERERCH5BAAAAAAALAAAAAAEAAQAAAIGDB5pYBoFADs="); font-family: Georgia, serif;
}
Developer | Brad Bodine |
Username | bbodine1 |
Uploaded | August 11, 2022 |
Rating | 3 |
Size | 2,462 Kb |
Views | 42,504 |
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 Arrows | 2,295 Kb |
Modular Flip Card | 4,009 Kb |
Blockequote Cite line with text | 2,551 Kb |
A Pen by Brad Bodine | 4,747 Kb |
Single L shape element link | 2,162 Kb |
Simple JSON | 2,247 Kb |
CSS Flip Animation | 2,525 Kb |
CSS3 Checkbox Slider | 2,697 Kb |
Figure Flip Card | 3,040 Kb |
CSS3 Notepad | 2,564 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 |
IPhone5S SVG Space Grey | Onlinechris | 75,035 Kb |
Elon Musk - Tribute Page - FreeCodeCamp | Yunnimun | 8,615 Kb |
Masonry | Uriuriuriu | 5,005 Kb |
Experiments with Vertical Centering | KatieK2 | 3,924 Kb |
Display properties | Hamzaerbay | 1,886 Kb |
A Pen by Manoz | Manoz | 2,424 Kb |
Count up | Alanshortis | 2,391 Kb |
Simple personal profile | Miroot | 2,856 Kb |
CSS Hover Effects | Alen | 3,613 Kb |
CSS background-size - GSAP | Jonathan | 2,209 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!