HTML CSS examples for Bootstrap Class List:embed-responsive-16by9
.embed-responsive-16by9 - Container for embedded content. Creates an 16:9 aspect ratio embedded content
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head><!--from w ww .j a v a 2 s.c o m--> <body> <div class="container"> <h2>Responsive Embed</h2> <p>This is a test. This is a test. This is a test.This is a test. This is a test. This is a test.</p> <div class="embed-responsive embed-responsive-16by9"> <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/YE7VzlLtp-4"></iframe> </div> </div> </body> </html>