Is it possible to have a progress bar move from right to left based on a negative value in Twitter Bootstrap?

后端 未结 9 2825
不思量自难忘°
不思量自难忘° 2021-02-19 23:43

Before even embarking on this project, I\'d like to know if it\'s at all possible to reverse the progress bar found in the bootstrap framework, so it can display a value going f

9条回答
  •  余生分开走
    2021-02-20 00:22

    Simple just interchange the background colors of progress and progress bar. That way if the progress bar width changes it will look like it is progressing in reverse way. Including the .css style

    .progress{
      background-color: #007bff;
    }
    
    .progress-bar{
      background-color: #e9ecef;
    }
    

提交回复
热议问题