0

i have the following and i expected the progress to show on the background, but nothing shows

<DOCTYPE html>
<html>
<body>
    <div class="progress progress-striped">
      <div class="progress-bar progress-bar-success" role="progressbar" aria-    valuenow="40" aria-valuemin="0" aria-valuemax="100" style="width: 40%">
      </div>
    </div>
</body>
</html>
user3137376
  • 1,527
  • 2
  • 19
  • 29
  • You're not viewing this in Internet Explorer, are you? Because it doesn't work in IE. – Huey Jan 09 '14 at 01:50

1 Answers1

1

You need to include the bootstrap css files first

Add this to your <head>:

<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">

Make the following changes to your code: <DOCTYPE HTML> to <!DOCTYPE HTML> and aria- valuenow="40" to aria-valuenow="40"

Example Fiddle

If you can't see the progress bar in the fiddle, then you're probably using an incompatible browser.

Progress bars use CSS3 transitions and animations to achieve some of their effects. >These features are not supported in Internet Explorer 9 and below or older versions of >Firefox. Opera 12 does not support animations.

Huey
  • 5,110
  • 6
  • 32
  • 44