10个非常有用的CSS技巧 优化https://developers.google.com/speed/articles/
摘要:1.将网页或元素居中 HTML:<divclass="wrap"></div><!--endwrap-->CSS:.wrap{width:960px;margin:0auto;}2.Sticky Footer (让页脚永远停靠在页面底部,而不是根据绝对位置) HTML:<divid="wrap"><divid="main"class="clearfix"></div></div><divid="footer"
阅读全文
posted @ 2013-05-06 10:39