feedbackcss
Progress
Styled native progress bar with an animated value track.
CSS Variables
| Variable | Default | Scope | Description |
|---|---|---|---|
--z-progress-height | 1rem | .z-progress | Height of the progress bar. |
--z-progress-margin-bottom | 1.25rem | .z-progress | Bottom margin of the progress bar. |
--z-progress-radius | 500px | .z-progress | Corner radius of the track. |
--z-progress-track-color | var(--z-primary) | .z-progress | Track (background) color. |
--z-progress-track-color-o | 20% | .z-progress | Opacity applied to the track color. |
--z-progress-transition | width 0.6s ease | .z-progress | Transition applied to the value bar when the value changes. |
--z-progress-value-color | var(--z-primary) | .z-progress | Value bar color. |
--z-progress-value-color-o | 100% | .z-progress | Opacity applied to the value bar color. |
CSS Classes
| Class | Role | Applies to | Description |
|---|---|---|---|
.z-progress | root | .z-progress | Styles a native <progress> element: rounded track, tinted background, animated value bar. |