SF Divider

A thin glowing line for separating content on dark backgrounds. Tinted by --sf-color.

Examples

UpDown
Wide containerfills the width
Redalert

CSS variables

NameTypeDefaultDescription
--sf-color<color>#f90Tint for the text, line and glow. Set it on the element or any ancestor.

Usage

The element is a block that fills its container and is at least 80px wide. Unlike the Simple divider, the colour comes from --sf-color, not from the text colour.

Implementation