最好的导航分割栏,分割线,实现底部透明,纯css


<div class="Ui_Ct_Line padding_5"> <div>为您推荐</div> </div> .Ui_Ct_Line { -ms-flex-align: center !important; align-items: center !important; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; } .Ui_Ct_Line > * { -ms-flex: 0 0 auto; flex: 0 0 auto; auto; max- none; display: block; min-height: 1px; padding: 0 20px; } .Ui_Ct_Line::before,.Ui_Ct_Line::after { content: ' '; -ms-flex-preferred-size: 0; flex-basis: 0; -ms-flex-positive: 1; flex-grow: 1; display: block; position: relative; 100%; min-height: 1px; background-color: #CBCBCB; }
原文地址:https://www.cnblogs.com/hanstar/p/8135599.html