Learn Bootstrap
Bootstrap jumbotron
- Why do we use Jumbotron in Bootstrap?Jumbotron is used for highlighting content in bootstrap. It could either be a slogan or probably a headline. It increases the heading size and gives a margin for the content of the landing page. To implement Jumbotron in a Bootstrap, you have to use: Create a containerwith the class of .jumbotron For example, useif you don’t want Jumbotron to reach the screen’s edge.What are the two codes used for code display in Bootstrap?There are two simple ways to display code in Bootstrap:
tag: This tag is used to display an inline code.
tag: If you have a code with several lines or even a block element, you can display it using this.
Explain the typography and links in Bootstrap.Bootstrap sets a basic global display (background), typography, and link styles. Basic Global display − It sets background-color: #fff; on the element. Typography − This uses the @font-family-base, @font-size-base, and @line-height-base attributes as the typographic base Link styles − It sets the global link color via attribute @link-color and applies link underlines only on :hover.What is a progress bar in bootstrap?Progress bar is used with HTML tag style in HTML element using keyword. In bootstrap we use html5 with CSS classes that have special features in bootstrap, that is only made for the progress bar.How do you make images responsive?Bootstrap allows to make the images responsive by adding a class .img-responsive to the tag. This class applies max-width: 100%; and height: auto; to the image so that it scales nicely to the parent elementWhat are the steps for creating basic or vertical forms?The steps for creating basic or vertical forms include: Add a role form to the parent element Wrap labels and controls in awith class .form-group. This is required to achieve optimum spacing Add a class of .form-control to all texturl ,Explain types of lists supported by Bootstrap.Bootstrap supports three types of lists such as: Ordered lists − An ordered list is a list that falls in some sort of sequential order and is prefaced by numbers. Unordered lists − An unordered list is a list that doesn’t have any particular order and is traditionally styled with bullets. If you do not want the bullets to appear then you can remove the styling by using the class .list-unstyled. Definition lists − In this type of list, each list item can consist of both the- and the
- elements.
- stands for definition term. Subsequently, the
- is the definition of the
4iv>