两端对齐justify

//容器设定text-align:justify
.justify{ text
-align: justify; } //容器里面的元素 .justify i{ width:24px; line-height:24px; display:inline-block; text-align:center; border-radius:50%; } //伪类这个必须写 .justify:after { content: ""; display: inline-block; position: relative; width: 100%; }

 

posted @ 2017-01-16 15:05  DoubleLife  阅读(226)  评论(0编辑  收藏  举报