Bootstrap中嵌入式内容的容器
使用Bootstrap中的.embed-response类为嵌入式内容设置容器。
您可以尝试运行以下代码以在Bootstrap中实现.embed-response类
示例
<!DOCTYPE html>
<html>
<head>
<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>
</head>
<body>
<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 = "https://www.youtube.com/embed/XBgr68rxNLM"></iframe>
</div>
</div>
</body>
</html>