26.06.2017 Views

Bootstrap for ASP.NET MVC

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Using <strong>Bootstrap</strong> Components<br />

The result of this code is shown in the following screenshot:<br />

Contextual progress bars<br />

You can use the same button and alert style classes to generate differently colored<br />

progress bars. This is accomplished by setting the progress bar's class name to one of<br />

the following:<br />

• progress-bar-success<br />

• progress-bar-info<br />

• progress-bar-warning<br />

• progress-bar-danger<br />

The result is illustrated in the following screenshot:<br />

[ 70 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!