Box with Ribbon pure CSS
How do I make an box with ribbon pure css?
What is a box with ribbon pure css? How do you make a box with ribbon pure css? This script and codes were developed by Mahesh Bhagat on 27 August 2022, Saturday.
Box with Ribbon pure CSS - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Box with Ribbon pure CSS</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="main-container"> <div class="ribbon"> <div>About</div> </div> <div class="box">dfsfs </div>
</div>
</body>
</html>
Box with Ribbon pure CSS - Script Codes CSS Codes
body { padding: 20px; background-color: #f2f2f2;
}
.main-container { position: relative;
}
.box { position: absolute; width: 250px; height: 300px; background-color: #fff; border: 1px solid #ebebeb; border-radius: 2px; z-index: 10000px;
}
.ribbon { position: absolute; width: 100px; height: 100px; overflow: hidden; top: -6px; left: -6px;
}
.ribbon:after { content: ''; width: 10px; height: 10px; background-color: #2183b4; position: absolute; top: 77px; left: 2px; -webkit-transform: rotate(-45deg); z-index: 0;
}
.ribbon:before { content: ''; width: 10px; height: 10px; background-color: #2183b4; position: absolute; top: 2px; left: 77px; -webkit-transform: rotate(-45deg); z-index: 0;
}
.ribbon > div { position: relative; width: 120px; padding: 7px 0; top: 15px; left: -30px; font: bold 15px sans-serif; color: #fff; text-align: center; text-shadow: rgba(255, 255, 255, 0.15) 0 1px 0; background-color: #44aadd; z-index: 100; -webkit-transform: rotate(-45deg);
}
Developer | Mahesh Bhagat |
Username | mymahesh11 |
Uploaded | August 27, 2022 |
Rating | 3 |
Size | 2,237 Kb |
Views | 34,408 |
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 |
Profile Chat Rebound | 2,869 Kb |
Bootstrap layout by Mahesh Bhagat | 3,807 Kb |
Login Page | 1,758 Kb |
A Pen by mahesh bhagat | 2,800 Kb |
ScrollWebsite | 2,088 Kb |
AngularDemo | 1,351 Kb |
Highcharts Demo | 1,662 Kb |
Product item | 2,256 Kb |
Angular Demoz | 2,065 Kb |
Bootstrap mega menu with multi drop down columns | 7,630 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 |
Donald Trump - The New Yorker | Agbales | 2,502 Kb |
Beautiful canvas stars | Matths | 2,399 Kb |
Parallax with only CSS | Thulioph | 2,297 Kb |
Social Profiles | Lachlanjc | 1,939 Kb |
A Pen by Jay | Jaycode | 3,784 Kb |
Collapsing Widget | Er40 | 4,279 Kb |
Review test | Otro_user_gil | 4,054 Kb |
Save for later... | Victorfreire | 1,359 Kb |
Fluid Layout with Float | Jxqr97 | 1,785 Kb |
React Template | Isac | 1,241 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!