Container for embedded content in Bootstrap

BootstrapWeb DevelopmentCSS Framework

Use the .embed-responsive class in Bootstrap to set a container for embedded content.

You can try to run the following code to implement the .embed-responsive class in Bootstrap


Live Demo

<!DOCTYPE html>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
      <div class = "container">
         <h2>Add pages in WordPress</h2>
         <p>To add pages on a WordPress, try the below given steps in the video:</p>
         <div class = "embed-responsive embed-responsive-4by3">
            <iframe class = "embed-responsive-item" src = ""></iframe>
Published on 20-Jun-2018 18:04:03