❌

Vue normale

Reçu — 29 juillet 2026 ⏭ CSS Tip: Learn CSS the easy one
Reçu — 26 juin 2026 ⏭ CSS Tip: Learn CSS the easy one

Responsive Separator for Horizontal List

26 juin 2026 à 02:00

Separating a horizontal list of items with a divider is a common design pattern. The tricky part is making sure we have separators only between adjacent items, never at the beginning or the end of the row/line.

CSS-only responsive list separator

There are many hacky ways to solve this, but the new Gap Decoration feature offers a simple, modern solution. No more hacks and only a few lines of code to get the shape of the divider you want.

Read more

❌