CSS Responsive Multi-Line Ribbon Shapes (Part 1)

Ribbons have been used to accent designs for many years now. But, the way we approach them in CSS has evolved with the introduction of newer features. In this article, Temani Afif combines background and gradient tricks to create ribbon shapes in CSS that are not only responsive but support multi-line text and are easily adjustable with a few CSS variables. https://smashingmagazine.com/2023/11/css-responsive-multi-line-ribbon-shapes-part1/

Created 2y | Nov 15, 2023, 2:30:33 PM


Login to add comment

Other posts in this group

Designing Better UX For Left-Handed People

Today, roughly 10% of people are left-handed. Yet most products — digital and physical — aren’t designed with it in mind. Let’s change that. More design patterns in <a href="https://smart-

Jul 25, 2025, 8:30:06 PM | Smashing magazine
Handling JavaScript Event Listeners With Parameters

Event listeners are essential for interactivity in JavaScript, but they can quietly cause memory leaks if not removed properly. And what if your event listener needs parameters? That’s where things ge

Jul 21, 2025, 4:50:07 PM | Smashing magazine
Why Non-Native Content Designers Improve Global UX

Ensuring your product communicates clearly to a global audience is not just about localisation. Even for products that have a proper localisation process, English often remains the default language fo

Jul 18, 2025, 7:20:07 PM | Smashing magazine
Tiny Screens, Big Impact: The Forgotten Art Of Developing Web Apps For Feature Phones

Learn why flip phones still matter in 2025, and how you can build and launch web apps for these tiny devices. https://smashingmagazine.com/2025/07/tiny-screens-big-impact-developing-web-apps-feature-p

Jul 16, 2025, 4:20:06 PM | Smashing magazine
Design Patterns For AI Interfaces

Designing a new AI feature? Where do you even begin? From first steps to design flows and interactions, here’s a simple, systematic approach to building AI experiences that stick. https://smashingmaga

Jul 14, 2025, 8:20:05 PM | Smashing magazine
Unmasking The Magic: The Wizard Of Oz Method For UX Research

The Wizard of Oz method is a proven UX research tool that simulates real interactions to uncover authentic user behavior. Victor Yocco unpacks the core principles of the WOZ method, explores advanced

Jul 10, 2025, 11:50:15 AM | Smashing magazine
Droip: The Modern Website Builder WordPress Needed

Traditional page builders have shaped how we build WordPress sites for years. Let’s take a closer look at Droip, a modern, no-code visual builder, and explore how it redefines th

Jul 8, 2025, 1:40:02 PM | Smashing magazine