Bootstrap Question:
Download Job Interview Questions and Answers PDF
Explain me how will you create a alternate progress bar using bootstrap?
Answer:
To create a progress bar with different styles −
☛ Add a <div> with a class of .progress.
☛ Next, inside the above <div>, add an empty <div> with a class of .progress-bar and class progress-bar-* where * could be success, info, warning, danger.
☛ Add a style attribute with the width expressed as a percentage. Say for example, style = "60%"; indicates that the progress bar was at 60%.
☛ Add a <div> with a class of .progress.
☛ Next, inside the above <div>, add an empty <div> with a class of .progress-bar and class progress-bar-* where * could be success, info, warning, danger.
☛ Add a style attribute with the width expressed as a percentage. Say for example, style = "60%"; indicates that the progress bar was at 60%.
Download Bootstrap Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me which class make a set of buttons appear vertically stacked rather than horizontally? | What are different types of Media Object? |