Bootstrap Interview Questions Part 3

Bootstrap Interview Questions Part 3

What are glyphicons?

Glyphicons are icon fonts which you can use in your web projects. Glyphicons Halflings are not free and require licensing, however their creator has made them available for Bootstrap projects free of cost.

How do you use Glyphicons?

To use the icons, simply use the following code just about anywhere in your code. Leave a space between the icon and text for proper padding.

What is a transition plugin?

The transition plugin provides simple transition effects such as Sliding or fading in modals.

What is a Modal Plugin?

A modal is a child window that is layered over its parent window. Typically, the purpose is to display content from a separate source that can have some interaction without leaving the parent window. Child windows can provide information, interaction, or more.

How do you use the Dropdown plugin?
You can toggle the dropdown plugin’s hidden content −

  • Via data attributes − Add data-toggle = “dropdown” to a link or button to toggle a dropdown as shown below −

  • If you need to keep links intact (which is useful if the browser is not enabling JavaScript), use the data-target attribute instead of href=”#” −

  • Via JavaScript − To call the dropdown toggle via JavaScript, use the following method −

What is Bootstrap caraousel?

The Bootstrap carousel is a flexible, responsive way to add a slider to your site. In addition to being responsive, the content is flexible enough to allow images, iframes, videos, or just about any type of content that you might want.

What is button group?

Button groups allow multiple buttons to be stacked together on a single line. This is useful when you want to place items like alignment buttons together.

Which class is used for basic button group?

.btn-group class is used for a basic button group. Wrap a series of buttons with class .btn in .btn-group.

Which class is used to draw a toolbar of buttons?

.btn-toolbar helps to combine sets of <div class = “btn-group”> into a <div class = “btn-toolbar”> for more complex components.