摘要:
window.innerWidth 100vw 网页视口宽度 window.innerHeight 100vh 网页视口高度 1.vw:1vw等于网页视口宽度的1%。2.vh:1vh等于网页视口高度的1%。3.vmin:选取vw和vh中最小的那个。4.vmax:选取vw和vh中最大的那个。 wind 阅读全文
posted @ 2020-07-13 16:34
大海博客
阅读(392)
评论(0)
推荐(0)
摘要:
常用的class命名规则: 头:header head 页面主体:main body main-content page-main 内容:content container 导航:nav navigation 子导航:subnav 侧栏:sidebar aside 栏目:column 菜单:menu 阅读全文
posted @ 2020-07-13 16:24
大海博客
阅读(120)
评论(0)
推荐(0)
摘要:
table合并单元格 colspan -- 跨列 rowspan -- 跨行 <table> <tbody> <tr> <th colspan="2">123</th> <th colspan="2">123</th> </tr> <tr> <th rowspan="2">123</th> <th> 阅读全文
posted @ 2020-07-13 15:58
大海博客
阅读(175)
评论(0)
推荐(0)
摘要:
table { width: 100%; border-collapse: collapse; // 合并边框 } table, table tr th, table tr td { border: 1px solid #e4e3e3; text-align: center; } 阅读全文
posted @ 2020-07-13 15:50
大海博客
阅读(303)
评论(0)
推荐(0)
浙公网安备 33010602011771号