摘要: 1用纯css实现轮播 <div id="container"> <div id="photo"> <img src="img/1.png" /> <img src="img/2.png" /> <img src="img/3.png" /> </div> </div> 样式 #container{ 阅读全文
posted @ 2019-05-31 01:14 lrt19900202 阅读(1474) 评论(0) 推荐(0) 编辑
摘要: 1、九宫格 样式为: ul{ display: flex; flex-wrap: wrap;//超出换行 } li{ width: 33%; height: 60px; display: flex; justify-content: center;//子元素水平居中 flex-end结尾 flex- 阅读全文
posted @ 2019-05-30 23:56 lrt19900202 阅读(419) 评论(0) 推荐(0) 编辑