-
Bootstrap Media Objects
Bootstrap Media Objects In this tutorial you will learn how to create the media objects in Bootstrap. Using the Media Object in Bootstrap Bootstrap media object has been discontinued from version 5. However, you can still create a layout that contains left- or right-aligned media object like images or video alongside the textual content such as…
-
Specifying Card Size
Cards have no specific width, they are 100% wide by default. However, you can change this as needed with custom CSS, grid classes, or sizing utility classes. Let’s try out the following example to understand how it basically works: Example Card with Stretched Link You can add the class .stretched-link to a link inside the card to…
-
Customizing the Card Styles
There are several options available for customizing the card’s backgrounds, borders, and color. Customizing Background and Color You can simply use the background and color utility classes to change the appearance of a card. Let’s try out the following example to understand how it basically works: Example — The output of the above example will look something like this:…
-
Bootstrap Cards
In this tutorial you will learn how to use Bootstrap card component. Using the Bootstrap Cards Bootstrap card is a flexible and extensible content container. It includes options for headers and footers, a wide variety of content, contextual background colors, and powerful display options. Card replaces panel, well, and thumbnail components in old Bootstrap 3…
-
Bootstrap Images
In this tutorial you will learn how to style images, as well as how to create responsive images and videos using Bootstrap. Styling Images with Bootstrap Images are very common in modern web design. So styling images and placing it properly on the web pages is very important for improving the user experience. Using the…
-
Bootstrap Button Groups
In this tutorial you will learn how to use Bootstrap button group component. Creating Button Groups with Bootstrap In the previous chapter you’ve learnt how to create different types of individual buttons and modify them with predefined classes. Bootstrap however, also allows you to group a series of buttons together in a single line through…
-
Creating Spinner Buttons
With Bootstrap you can easily include spinner icon in a button to indicate the loading state in your application. Check out the following example to see how it works: Example In the next chapter you will learn how to combine multiple buttons horizontally or vertically in a line like toolbars using the Bootstrap button groups component. Also,…
-
Changing the Sizes of Buttons
Bootstrap gives you option further to scaling a button up or down. To make buttons larger add an extra class .btn-lg to the buttons, like this: Example — The output of the above example will look something like this: Similarly, to make buttons smaller add an extra class .btn-sm to the buttons, like this: Example — The output of…
-
Bootstrap Buttons
In this tutorial you will learn how to create and modify buttons with Bootstrap. Creating Buttons with Bootstrap Buttons are the integral part of a website and application. They are used for various purposes like, submit or reset an HTML form, performing interactive actions such as showing or hiding something on a web page on click…
-
Checkboxes and Radio Buttons Addons
Similarly, you can place checkbox or radio button within input group’s addon instead of text. Example — The output of the above example will look something like this: Placing Multiple Inputs or Addons You can also place multiple inputs side-by-side within an input group easily, like this: Example — The output of the above example…
