Responsive Video or Slideshow Embeds in Bootstrap with Examples Last Updated : 24 Jan, 2019 Comments Improve Suggest changes Like Article Like Report Bootstrap allows creating responsive video or slideshow embeds based on the width of the display or parent element by creating a native ratio that scales with the device. Using responsive video or slideshow embeds the content can be scaled automatically as per the screen size or the parent container element, this makes the UI more responsive. Bootstrap provides a class named embed-responsive for creating responsive embeds. This class is assigned to the parent which encloses any of the following embedding elements: <iframe>, <embed>, <video>, and <object>. Optionally, along with the embed-responsive class, one more class embed-responsive-item can be used with the embedding elements. Bootstrap also provides a few modifier classes to adjust the aspect ratio of the elements: embed-responsive-16by9 embed-responsive-21by9 embed-responsive-1by1 embed-responsive-4by3 Below program illustrate the embed-responsive class: html <!DOCTYPE html> <html> <head> <!-- Link Bootstrap CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <title> Responsive Video </title> </head> <body> <div class="embed-responsive embed-responsive-21by9"> <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/HMAwoMt3kek" allowfullscreen> </iframe> </div> </body> </html> Output: Comment More infoAdvertise with us M MayankKhare Follow Improve Article Tags : Web Technologies Bootstrap Similar Reads Bootstrap Cards A 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. It replaces the use of panels, wells and thumbnails. All of it can be used in a single container called card . Ba 2 min read Bootstrap | Badges and Breadcrumbs Badges: Badges are numbers associated with the link to indicate the number of items associated with the link. The notification number is seen when logged in to a particular website and tells the numbers of news or notifications to see by clicking it. Example: HTML <!DOCTYPE html> <html> 4 min read Clearfix in Bootstrap One of the major problems with the structure of HTML is that if you have a child div inside parent div, the child div automatically flows around the parent div. The solution to this problem is using clear property of CSS. Bootstrap allows us to use a class named clearfix which is used to clear the f 2 min read Image Replacement in Bootstrap using text-hide Class Bootstrap allows us to replace the text with background image for any text element like paragraph element, heading element etc. With the use of .text-hide class, we can replace an elementâs content with a background image. Syntax: <element class = "text-hide" style = "background-image: url('Speci 1 min read Typography in Bootstrap Bootstrap Typography provides a standardized and flexible approach to text styling, offering various classes for headings, paragraphs, and inline text elements. It ensures consistent typography across different devices and screen sizes, enhancing readability and aesthetics. Typography can be used to 2 min read Popovers in bootstrap with examples A Bootstrap Popover is an attribute in bootstrap that can be used to make any website look more dynamic. Popovers are generally used to display additional information about any element and are displayed with a click of a mouse pointer over that element. In the popover, if you click on any element th 3 min read Bootstrap | Spinners Set-2 Bootstrap provides us with various classes for creating different styles of the spinner to indicate the loading state. We can also modify the appearance, size, and placement of the spinners with the classes provided by Bootstrap. Buttons with border spinner: We can place the border spinner within th 4 min read Bootstrap | Spinners Set-1 Bootstrap provides us with various classes for creating different styles of the spinner to indicate the loading state. We can also modify the appearance, size, and placement of the spinners with the classes provided by Bootstrap. Types of Spinners: Border spinner: We can create a lightweight bordere 4 min read Differences between Bootstrap and JQuery UI Bootstrap: Bootstrap is a framework for front-end web development.it makes web development faster and easier. It contains HTML and CSS based design templates for various responsive front-end designing, as well as optional JavaScript plugins. JQuery UI: JQuery UI is a collection of GUI widgets and th 3 min read Flexbox utilities in bootstrap with examples The Flexible Box Layout Module in bootstrap is used for designing the flexible and responsive layout structure. It is used in Bootstrap 4. The d-flex class is used to create a simple flexbox container Syntax: <div class="d-flex p-2"></div>The d-inline-flex class is used to create an inli 11 min read Like