前端
pangadam
这个作者很懒,什么都没留下…
展开
-
中间显示
<style type="text/css">* {margin: 0px;padding: 0px;} .common {width: 150px;height: 100%;line-height: 53px;background-color: gray;display:inline-block;margin-right: 10px;...原创 2017-02-20 10:29:23 · 127 阅读 · 0 评论 -
得到宽度
var winWidth;// 获取窗口宽度if (window.innerWidth)winWidth = window.innerWidth;else if ((document.body) && (document.body.clientWidth))winWidth = document.body.clientWidth;// 获取窗口高度//...原创 2017-02-20 18:20:10 · 109 阅读 · 0 评论