ZhangZhihui's Blog  

2020年4月27日

摘要: div { width: 100%; height: 100%; background-image: url(../images/bg.jpg); background-size: contain; background-repeat: no-repeat; background-position: 阅读全文
posted @ 2020-04-27 17:48 ZhangZhihuiAAA 阅读(3012) 评论(0) 推荐(0) 编辑
 
摘要: div { width: 100vw; height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center;} 关于更多display: flex的内容可参见https: 阅读全文
posted @ 2020-04-27 16:51 ZhangZhihuiAAA 阅读(413) 评论(0) 推荐(0) 编辑
 
摘要: .section { clear: both; padding: 0; margin: 0;}.group:before,.group:after { content:""; display:table;}.col { display: block; float: left;}.span_3_of_ 阅读全文
posted @ 2020-04-27 15:39 ZhangZhihuiAAA 阅读(131) 评论(0) 推荐(0) 编辑