Skip to main
Table of Contents

BG Pattern

The bg_* classes provide a versatile way to add visually appealing background patterns to various HTML elements, including <meter>, <progress>, and generic elements like <div> and <button>. These classes create evenly spaced vertical lines using a scalable gradient pattern, which can represent progress, thresholds, or purely aesthetic designs. By applying these styles, developers can enhance the visual clarity and user experience of their web applications, especially in contexts requiring intuitive data representation or distinct element styling. The flexibility of these classes makes them suitable for a wide range of use cases in modern web design.

The current classes are bg_line_vertical_* and bg_line_horizontal_*.

Indicator

Meter

The `meter` element is styled with a vertical line background.

Progress

The `progress` element is styled with a vertical line background.

Other Element

The `bg_line_vertical_*` classes can also be applied to generic elements:

DIV

Button