1.media控制布局
<link type="text/css" rel="stylesheet" href="css04.css" media="only screen and (max-640px)">
<style>
@media screen and (max-600px) {
body{
background-color: aquamarine;
}
}
@media screen and (min- 600px) and (max- 960px){}
</style>
2.bootstrap
http://getbootstrap.com/
很强大,支持响应式布局