Corner Ribbons
How do I make an corner ribbons?
Got this wonderful idea of these cool corner ribbons and decided to make it ready for use. Custom styles like colors work with simple class changes.. What is a corner ribbons? How do you make a corner ribbons? This script and codes were developed by Miro Karilahti on 07 July 2022, Thursday.
Corner Ribbons - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Corner Ribbons</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body>
<div class="cr cr-top cr-left cr-sticky cr-red">Hello</div>
<div class="cr cr-top cr-right cr-sticky cr-blue">Hello</div>
<div class="cr cr-bottom cr-left cr-sticky cr-orange">Hello</div>
<div class="cr cr-bottom cr-right cr-sticky cr-green">Hello</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Corner Ribbons - Script Codes CSS Codes
body { background: #f0f0f0; font-family: sans-serif;
}
.cr { width: 200px; padding: 16px; position: absolute; text-align: center; color: #f0f0f0;
}
.cr-sticky { position: fixed;
}
/* Positions */
.cr-top { top: 25px; }
.cr-bottom { bottom: 25px; }
.cr-left { left: -50px; }
.cr-right { right: -50px; }
/* Rotations */
.cr-top.cr-left,
.cr-bottom.cr-right { -webkit-transform: rotate(-45deg); transform: rotate(-45deg);
}
.cr-top.cr-right,
.cr-bottom.cr-left { -webkit-transform: rotate(45deg); transform: rotate(45deg);
}
/* Colors */
.cr-white { background-color: #f0f0f0; color: #444; }
.cr-black { background-color: #333; }
.cr-grey { background-color: #999; }
.cr-blue { background-color: #39d; }
.cr-green { background-color: #2c7; }
.cr-turquoise { background-color: #1b9; }
.cr-purple { background-color: #95b; }
.cr-red { background-color: #e43; }
.cr-orange { background-color: #e82; }
.cr-yellow { background-color: #ec0; }
Developer | Miro Karilahti |
Username | miroot |
Uploaded | July 07, 2022 |
Rating | 4.5 |
Size | 1,911 Kb |
Views | 82,984 |
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 |
Long Shadow Camera Icon | 1,825 Kb |
Background change in pure CSS | 3,236 Kb |
Long Shadow Calendar Icon | 1,856 Kb |
Pure CSS Gallery | 3,817 Kb |
Expanding Photo Stack | 2,083 Kb |
Flat Text Editor | 2,468 Kb |
Login Form | 2,519 Kb |
Social Icons | 2,941 Kb |
Flat sidebar | 2,664 Kb |
Calendar | 2,033 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 |
Halo 5 REQ Guide Bookmarklet | Cwacht | 3,993 Kb |
Polo, the flying squirrel | Agbales | 2,445 Kb |
CSS Link Icons with jQuery Titles | Nicwinn | 2,312 Kb |
P1 | Vivi_Lai | 1,533 Kb |
Blockquote design | Sjmcpherson | 1,863 Kb |
Flexbox slider | Rendro | 3,459 Kb |
HTM5 picture dropzone | Jaysalvat | 2,576 Kb |
Pictos font library from CodePen | Jstam | 3,790 Kb |
Shopping cart | Andiio | 6,581 Kb |
Webkit decolorize | Fivera | 1,675 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!