-4
A
回答
0
這可以幫助你!我不想阻止你,所以回答這個問題。 但請下一次,請您務必閱讀https://stackoverflow.com/help/how-to-ask
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Bootstrap 101 Template</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<style>
// styles here
body, html{
height:100%;
}
.red{
background: red;
}
.theheader{
height: 50px;
}
.thecontainer{
height:100%;
}
.h100{
height: calc(100% - 50px);
}
.leftbar{
background: green;
height:100%;
}
.rightbar{
background: blue;
height:100%;
}</style>
</head>
<body>
<div class="container-fluid thecontainer">
<div class="row red theheader">
<div class="col-md-12">
Header here
</div>
</div>
<div class="row h100">
<div class="col-md-3 leftbar">
left side
</div>
<div class="col-md-9 rightbar">
left side
</div>
</div>
</div>
</body>
</html>
相關問題
- 1. Twitter Bootstrap跨應用程序的多個頁面共享佈局
- 2. 使用Bootstrap的單頁應用程序
- 3. Android應用程序的簡單佈局
- 4. iphone應用程序佈局
- 5. Android應用程序佈局
- 6. javaEE應用程序佈局
- 7. WPF應用程序佈局
- 8. 應用程序佈局
- 9. Android應用程序佈局
- 10. 使用應用程序抽屜佈局與應用程序標題佈局
- 11. 兩個「全局」/應用程序佈局
- 12. Bootstrap中的菜單佈局
- 13. bootstrap 4 navbar簡單佈局
- 14. Bootstrap搜索表單佈局
- 15. Bootstrap響應水平佈局
- 16. 使用引導程序頁面佈局
- 17. 使用Twitter Bootstrap的響應式佈局
- 18. 多個單頁應用程序或單頁應用程序
- 19. Bootstrap單頁佈局視口寬度單位
- 20. 使用Clojurescript和React構建的單頁應用程序的項目佈局
- 21. AngularJS使用bootstrap navbar處理單頁應用程序
- 22. 將多窗格佈局添加到單個佈局應用程序
- 23. bootstrap navbar單頁面應用
- 24. 應用程序佈局中的嵌套佈局
- 25. 呈現自定義佈局而不是應用程序佈局
- 26. 嵌套協調器佈局和應用程序佈局
- 27. 我的Android應用程序佈局不顯示佈局
- 28. 我的應用程序佈局不同於activity_main佈局設計
- 29. WinForms應用程序的佈局佈局/設計
- 30. 沒有佈局的Android應用程序
是肯定的!謝謝 –