DEV Community

Joan León
Joan León

Posted on

3 1

CSS Houdini: Lines Worklet

A CSS Houdini Worklet to show parallel lines and you can control the colors, widths, gaps and rotation via custom properties.

An implementation sample

In combination with background-clip and -webkit-text-fill-color.

Top comments (1)

Collapse
 
veerasrivastava profile image
Veera Srivastava

Nice one! Gr8 m8! 💗 It!

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more