About CSS Ribbon Generator
Add "New" or "Sale" ribbons to your components. Customize size, offset, and rotate positions for perfect corner badges.
Create decorative corner ribbons for cards and product listing.
Create decorative corner ribbons for cards and product listing
.ribbon-container {
width: 200px;
height: 200px;
position: relative;
background: #eee;
overflow: hidden;
}
.ribbon {
width: 120px;
padding: 8px 0;
background-color: #f43f5e;
color: #ffffff;
text-align: center;
font-weight: bold;
text-transform: uppercase;
position: absolute;
top: 10px;
right: -40px;
transform: rotate(45deg);
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}Add "New" or "Sale" ribbons to your components. Customize size, offset, and rotate positions for perfect corner badges.
Found a bug or have a suggestion to improve the CSS Ribbon Generator? Let us know and we'll fix it!