Question:- What is a Button Group, and what is the class for a basic Button Group?
Answer:- Multiple buttons can be placed together on a single line using button groups. You can use this to group objects together, such as alignment buttons. The .btn-group class is used for basic button groups. You can use the class .btn to wrap a set of buttons in .btn-group.
Question:- How can you use Bootstrap to make thumbnails?
Answer:- To make thumbnails with Bootstrap, go through the steps below: Wrap an image in an tag with the class .thumbnail. It will add a grey border and four pixels of padding. An animated light will now outline the image when it has hovered over.
Question:- What is a breadcrumb in Bootstrap?
Answer:- Breadcrumbs are a wonderful way to display a sites hierarchy-based information. Breadcrumbs can show the dates of publication, categories, and tags in the case of blogs. They show where the current page is in the navigational hierarchy. In Bootstrap, a breadcrumb is essentially an unordered list with the class .breadcrumb. CSS adds the separator for you automatically.
Question:- How can you use Bootstrap to make thumbnails?
Answer:- To make thumbnails with Bootstrap, go through the steps below: Wrap an image in an tag with the class .thumbnail. It will add a grey border and four pixels of padding. An animated light will now outline the image when it has hovered over.
Question:- In Bootstrap, what are the two codes for displaying code?
Answer:- In Bootstrap, there are two straightforward ways to display code: • The
element is used to showcase a piece of inline code. • You can use the tag to display a code that has multiple lines or even a block element.
Question:- What is a lead?
Answer:- Lead adds some emphasis to a paragraph. The .lead class is used to achieve this and it makes the font larger, taller, and lighter in weight.
Question:- In Bootstrap 4, what is flexbox?
Answer:- Flexbox is a layout module for flexible boxes. Without using float or positioning, you can quickly create a flexible layout design with flexbox.
Question:- In Bootstrap, how do you make navigation elements?
Answer:- The navigation elements in Bootstrap can be styled in a variety of ways. The markup and base class are the same in all of these .nav. To build tabular navigation or tabs, execute the following steps: Begin by creating an unordered list using the base class of .nav. The .nav-tabs class should be added.
Question:- What contextual classes can be used to style the panels?
Answer:- To make a panel more meaningful to a specific context, use contextual state classes like panel-primary, panel-success, panel-info, panel-warning, and panel-danger.
Question:- How can one create an alert in Bootstrap?
Answer:- Create a wrapper
and add a class of .alert and one of the contextual classes to create a basic alert (e.g., .alert-success, .alert-info, .alert-warning, .alert-danger, .alert-primary, .alert-secondary, .alert-light or .alert-dark).
Question:- What is a bootstrap card and how would you create one?
Answer:- In Bootstrap 4, a card is a bordered box with padding surrounding its content. It has options for headers, footers, content, and colors, among other things.
Question:- What are the two types of spinners that you can create using Bootstrap?
Answer:- Use the .spinner-border class to make a spinner/loader. If you want the spinner/loader to grow instead of "spin", use the .spinner-grow class.
Question:- Explain input groups in Bootstrap.
Answer:- The .input-group class is a container for enhancing an input by adding a "help text" icon, text, or button in front or behind the input field. To add the help text in front of the input, use .input-group-prepend, and to add it behind the input, use .input-group-append. Finally, style the provided help text with the .input-group-text class.
Question:- Discuss Bootstrap table and various classes that can change the appearance of the table.
Answer:- • A basic Bootstrap 4 table features horizontal divisions and light padding. • The .table class gives a table some basic styling. • The .table-striped class gives zebra stripes to the table. • The .table-bordered class adds borders to the table and cells on all sides. • On table rows, the .table-hover class adds a hover effect (grey background color).
