###前提・実現したいこと
いつもお世話になっております。
bootstrapを利用して、添付資料のような画面を作成したい。
各枠は、iframeを使ってコンテンツを表示させるつもりです。
offsetを使ってずらすことは出来ましたが、やりたいこととは違い、
また、画面を小さくすると、offsetしている分、画面がずれて
表示されてしまいます。
bootstrapでは、こういう画面構成は出来ないのでしょうか?
ご教授よろしくお願いします。
###該当のソースコード
<div class="container-flud"> <div class="row"> <div class="col-xs-12 col-sm-6"> <div class="embed-responsive embed-responsive-4by3" height="300" style="width:100% !important;overflow:auto !important;-webkit-overflow-scrolling:touch !important;"> <iframe src="a.php" id="a" class="embed-responsive-item" frameborder="0" style="margin:20px 0px;"></iframe> </div> </div> <div class="col-xs-12 col-sm-6"> <div class="embed-responsive embed-responsive-4by3" height="150" style="width:100% !important;overflow:auto !important;-webkit-overflow-scrolling:touch !important;"> <iframe src="b.php" id="b" class="embed-responsive-item" frameborder="0" style="margin:20px 0px;"></iframe> </div> </div> <div class="col-xs-12 col-sm-6 col-xs-offset-6"> <div class="embed-responsive embed-responsive-4by3" height="150" style="width:100% !important;overflow:auto !important;-webkit-overflow-scrolling:touch !important;"> <iframe src="c.php" id="c" class="embed-responsive-item" frameborder="0" style="margin:20px 0px;"></iframe> </div> </div> <div class="col-xs-12 col-sm-6"> <div class="embed-responsive embed-responsive-4by3" height="150" style="width:100% !important;overflow:auto !important;-webkit-overflow-scrolling:touch !important;"> <iframe src="d.php" id="d" class="embed-responsive-item" frameborder="0" style="margin:20px 0px;"></iframe> </div> </div> <div class="col-xs-12 col-sm-6"> <div class="embed-responsive embed-responsive-4by3" height="150" style="width:100% !important;overflow:auto !important;-webkit-overflow-scrolling:touch !important;"> <iframe src="e.php" id="e" class="embed-responsive-item" frameborder="0" style="margin:20px 0px;"></iframe> </div> </div> </div> <!-- row --> </div> <!-- container -->
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/04/10 09:30
2017/04/11 00:55
2017/04/11 03:42
2017/04/11 21:40