Tools51

CSS & UI STUDIO GUIDE

How to add pure-CSS 45° corner ribbons, 3D folded wraps, and bookmark badges

Spotlight POPULAR and SAVE 20% pricing tiers using crisp, zero-image CSS ribbons.

Highlight featured pricing cards and promos using 45° corner sashes, 3D ::after folded wrap flags, swallowtail bookmarks, and top border pills.

Follow the guide
Before Plain Unmarked Card
CSS Ribbon Generator unstyled HTML before — Plain Unmarked Card
Pricing card with no visual callout for the recommended tier.
After 45° Sash / 3D Folded Ribbon
CSS Ribbon Generator styled CSS result after — 45° Sash / 3D Folded Ribbon
Crisp 45° corner sash or 3D folded wrap banner with darkened ::after tuck shadow.
QUICK VIDEO TUTORIAL How to add pure-CSS 45° corner ribbons, 3D folded wraps, and bookmark badges Spotlight POPULAR and SAVE 20% pricing tiers using crisp, zero-image CSS ribbons. Watch the video

How to add pure-CSS 45° corner ribbons, 3D folded wraps, and bookmark badges

01

Pick a ribbon geometry for your card

Open CSS Ribbon Generator and compare 45° Top-Right/Top-Left Corner Sashes, 3D Folded Edge Wraps, Swallowtail Side Flags, Vertical Bookmarks, and Centered Top Pills.

Click Customize to edit badge copy and colors.

02

Edit ribbon label, colors, and dimensions

Enter your promo text (POPULAR, NEW, SAVE 20%) in Text and choose Solid or Linear gradient fill in Fill.

Adjust Label font size, Ribbon thickness, and drop-shadow opacity in Shape and Shadow.

Keep corner sash labels concise

1 to 2 short uppercase words (POPULAR, NEW, SAVE 20%) with letter-spacing: 0.07em fit cleanly inside the 45° diagonal triangle.

Automatic 3D tuck shading

On 3D Folded Wraps, the generator darkens your ribbon color by 38% automatically for the ::after under-fold triangle.

03

Export parent container and ribbon rules together

45° corner sashes include overflow: hidden on the card so rotated ends trim cleanly, while 3D folded wraps leave overflow visible so the -8px tuck overhangs the border.

Copy Vanilla CSS, HTML, or Tailwind markup.

Ready to use CSS Ribbon Generator?

Open CSS Ribbon Generator in your browser—100% private on your device with zero sign-up and copy-ready CSS, HTML, :root tokens, and Tailwind code. Related CSS studios: CSS Card Generator, CSS Badge & Pill Generator, CSS Clip-Path Generator.

Open CSS Ribbon Generator
Common questions

CSS Ribbon Generator FAQs

Practical frontend details for accessible, cross-browser CSS output.

Why was my 45° ribbon overflowing outside my pricing card?

Ensure the parent card has position: relative; overflow: hidden; so the rotated banner clips neatly to the card's border-radius.

How is the V-notch cut into Bookmark and Swallowtail ribbons?

A 5-point clip-path: polygon(...) carves a crisp inward notch that reveals whatever background sits behind it.

Can I mount a pill badge centered right on the top border line?

Yes—choose Centered top-border pill (top: 0; left: 50%; transform: translate(-50%, -50%)).

Image detail

Language38

EnglishالعربيةFrançaisItalianoDeutschEspañolPortuguêsNederlandsРусскийTürkçe日本語中文हिन्दीBahasa IndonesiaBahasa Melayu한국어Tiếng ViệtไทยPolskiSvenskaУкраїнськаNorskবাংলাΕλληνικάفارسیاردوČeštinaDanskMagyarRomânăSuomiБългарскиFilipinoქართულიSlovenčinaAzərbaycancaעבריתSlovenščina