Bri*_*sio 10 css twitter-bootstrap-3
我不希望我的应用调整大小并响应低于给定宽度的尺寸...比如600px.
body { min-width: 600px }由于媒体查询,我不能只在Bootstrap中做.
我该怎么做?
您可以随时调整媒体查询。
尝试这个:
<head>
<link href="css/bootstrap.css" rel="stylesheet" media="screen">
<style>
@media (max-width: 600px) {
body {background:#c00;min-width:600px;}
}
</style>
</head>
<body>
<h1>Hello, world!</h1>
</body>
Run Code Online (Sandbox Code Playgroud)
然后重置/编辑/覆盖此媒体查询中的所有其他元素。
| 归档时间: |
|
| 查看次数: |
21220 次 |
| 最近记录: |