-
-
Notifications
You must be signed in to change notification settings - Fork 103
Styling
Murhaf Sousli edited this page Aug 18, 2024
·
5 revisions
To customize the appearance of the progress bar, you can use the following CSS variables / classes
Variable name | Default value |
---|---|
--ng-progress-thickness |
2 |
--ng-progress-color |
#1B95E0 |
--ng-progress-holder-color |
transparent |
--ng-progress-ease |
linear |
--ng-progress-spinner-thickness |
2 |
--ng-progress-spinner-spacing |
15 |
--ng-progress-spinner-size |
18 |
Class name | Description |
---|---|
.ng-progress-bar | This class is applied to the host element of the progress bar. |
.ng-progress-bar-active | This class is applied to the host element when the progress bar is running. |
.ng-progress-bar-wrapper | This class is applied to the overall wrapper element that wraps the bar and the spinner. |
.ng-bar-placeholder | This class is applied to the direct wrapper of the progress bar. |
.ng-bar | This class is applied to the actual bar element that translates when the progress increments. |
.ng-spinner | This class is applied to the spinner wrapper element. |
.ng-spinner-icon | This class is applied to the spinner icon element. |
Become a sponsor and get your logo on our README on GitHub and the front page of https://ngx-progressbar.netlify.com/.
Become a backer and get your logo on our README on GitHub.
Older version (v12)
-
Automagic features
Older version (v11)
-
Automagic features