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).
Question:- What is the media object in Bootstrap and what are their types?
Answer:- Bootstraps media objects allow you to position media objects such as images, videos, and audio to the left or right of content blocks. Media elements can be constructed using the class .media and the source is specified by using the class .media-object. There are two types of media objects: • .media • .media-list
Question:- What do you mean by the Bootstrap well?
Answer:- The Bootstrap well is simply a container that makes the content appear sunken. It can also produce an inset effect on the webpage. With the aid of
and class, a developer may create a well and also wrap the content in the well. The content will be displayed according to your preferences.
Question:- What are glyphicons?
Answer:- Glyphicons are icon fonts that you can use on your website. Their developer has made them freely available for Bootstrap projects. To utilize the icons, simply copy and paste the following code anywhere in your code. To ensure adequate padding, leave a space between the icon and the text.
