摘要: 左右居中方案 行内元素: text-align: center 定宽块状元素: 左右 margin 值为 auto 不定宽块状元素: table布局,position + transform /* 方案1 */ .wrap { text-align: center } .center { displ 阅读全文
posted @ 2022-09-07 12:40 bb_xiaxia1998 阅读(315) 评论(0) 推荐(1)