Skip to main content
CSS Tip

A decorative line with rounded dashes

Create a nice decorative line with rounded dashes using a few lines of code

CSS-only decorative lines with rounded dashes

Code available here: css-shape.com/rounded-dashes

Resize the below demo to notice the responsive part

See the Pen Line with rounded dashes by Temani Afif (@t_afif) on CodePen.

More CSS Shapes: css-shape.com


More CSS Tips