<html xmlns="
<head>
<meta http-equiv="Content-Type" content="text/html charset=utf-8" />
<title>无标题文档</title>
<script type="text/javascript" src="jquery.js"></script>
<style>
.{ padding:0 margin:0 list-style:none}
.htmlBox{ width:100% min-width:500px height:500px border:1px solid #A349A4 border-radius:5px}
.sskBox{ width:100% height:35px margin-top:150px border:1px solid #000 border-left:0 border-right:0}
.zc{ width:100px height:35px float:left}
.zj{ width:250px height:35px float:left border-left:1px solid #000 border-right:1px solid #000}
.yc{ height:35px float:right}
</style>
</head>
<body>
<div class="htmlBox">
<div class="sskBox">
<div class="zc">左边100</div>
<div class="zj">中间250</div>
<div class="yc">右边自适应</div>
</div>
</div>
</body>
<script>
tmntH()//加载的时候执行一次
$(window).resize(function() {tmntH()})//浏览器窗口变化时执行
function tmntH()
{
var ycw=$(".sskBox").width()-352+'px'//yc的宽度等于sskBox宽度-350-2(边框线)
//alert(div3)
$(".yc").css("width",ycw)
}
</script>
</body>
</html>
1.Bootstrap这个框架是GitHub的明星产品之一,被认为是拥有最好的响应性的CSS框架。专为前端开发而设计,有助于构建web设计理念、移动优先项目、网格系统、排版和按钮等。
2.Foundation
Foundation是一个开源项目,是CSS框架界的另一巨头。众所周知,它得流畅性和响应性非常好,可以用于许多用途:构建网站、创建电子邮件模板、构建移动和web应用程序。
3.Bulam
Bulam开放源码、免费并且节约开发人员的时间。由于学习起来和使用非常简单,因此最近变得非常流行。
4. Ulkit
可能没有多少人知道(使用)这个框架,但它与其他类似框架具有相同的功能。
5. Semantic UI
从名称就能猜出,Semantic UI旨在使网站构建过程更加语义化。核心特征是利用自然语言原理使代码更易于阅读,更容易理解。