"IFrame"
Bootstrap 4.1.1 Snippet by murshidcee

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="text-center"> <button type="button" class="btn btn-info" data-toggle="modal" data-target="#modalYT">YouTube Modal</button> <button type="button" class="btn btn-default" data-toggle="modal" data-target="#modalVM">Vimeo Modal</button> <button type="button" class="btn btn-secondary" data-toggle="modal" data-target="#modalGM">Google Maps Modal</button> </div> <!--Modal: Name--> <div class="modal fade" id="modalYT" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg" role="document"> <!--Content--> <div class="modal-content"> <!--Body--> <div class="modal-body mb-0 p-0"> <div class="embed-responsive embed-responsive-16by9 z-depth-1-half"> <iframe class="embed-responsive-item" src="https://docs.google.com/forms/d/e/1FAIpQLSfOQ862xfPWdDPbLuY2w2cfW5GuTy6ehr-C7yC7kzwbGaSRxQ/viewform" allowfullscreen></iframe> </div> </div> </div> <!--/.Content--> </div> </div> <div class="modal fade" id="modalGM" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg" role="document"> <!--Content--> </div> </div> <!--Modal: Name-->
.map-container{ overflow:hidden; padding-bottom:56.25%; position:relative; height:0; } .map-container iframe{ left:0; top:0; height:100%; width:100%; position:absolute; }

Related: See More


Questions / Comments: