摘要:
1.两侧固定,中间自适应 .box{ width: 100%; display: flex; height: 300px; } .left{ width: 100px; height: 200px; background-color:red; } .right{ width: 100px; heig 阅读全文
posted @ 2019-09-24 21:47
宅到深夜
阅读(29234)
评论(0)
推荐(1)
摘要:
1.两侧固定,中间自适应 2.左侧固定,右侧自适应 3.右侧固定,左侧自适应 阅读全文
posted @ 2019-09-24 21:02
宅到深夜
阅读(852)
评论(0)
推荐(0)
摘要:
1.text-align:center 控制行内元素和行内块水平居中 2.line-height 控制单行文字垂直居中 3.margin:0 auto 控制一个具体宽度的块级元素水平居中 4.控制一个绝对定位元素的水平垂直居中 5.background-position:center center; 阅读全文
posted @ 2019-09-24 19:20
宅到深夜
阅读(262)
评论(0)
推荐(0)
摘要:
1. list-style: none; 设置列表标记的 默认会是实心圆点 设成none就是没有标记列表格式 2. box-sizing: border-box; CSS3盒子模型,盒子采用内减模式 3.text-decoration: none 取消文字的下划线 4.vartical-align: 阅读全文
posted @ 2019-09-24 18:42
宅到深夜
阅读(183)
评论(0)
推荐(0)
浙公网安备 33010602011771号