Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mix striped and non-striped progress bars #13347

Closed
tristanlins opened this issue Apr 15, 2014 · 0 comments · Fixed by #13861
Closed

Mix striped and non-striped progress bars #13347

tristanlins opened this issue Apr 15, 2014 · 0 comments · Fixed by #13861

Comments

@tristanlins
Copy link

It is possible to mix striped and non-striped progress bars by using an inline element around the progress-bar element, like this:

<div class="progress active">
  <div class="progress-bar progress-bar-success" style="width: 35%">...</div>

  <span class="progress-striped">
    <div class="progress-bar" style="width: 45%">...</div>
    </span>
</div>

The result:
progress1

This is not really smart, wouldn't it be easier when I could add the *-striped and active class directly to the progress-bar element?

<div class="progress active">
  <div class="progress-bar progress-bar-success" style="width: 35%">...</div>  
  <div class="progress-bar progress-bar-striped" style="width: 25%">...</div>  
  <div class="progress-bar progress-bar-striped active" style="width: 15%">...</div>
</div>
@cvrebert cvrebert changed the title [feature request] Mix striped and non-striped progress bars Mix striped and non-striped progress bars Apr 15, 2014
@cvrebert cvrebert added this to the v3.3.0 milestone Jun 9, 2014
@mdo mdo modified the milestones: v4.0.0, v3.2.0 Jul 6, 2014
stempler pushed a commit to stempler/bootstrap that referenced this issue Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants