首页 > bootstrap modal-footer 为什么加上 before,after伪对象选择符,实际测试时去掉 也没有影响啊

bootstrap modal-footer 为什么加上 before,after伪对象选择符,实际测试时去掉 也没有影响啊

bootstrap modal-footer 为什么加上 :before,:after伪对象选择符,而且内容是 display:table, line-height: 0;,实际测试时去掉 也没有影响啊

.modal-footer:before, .modal-footer:after {
    display: table;
    content: "";
    line-height: 0;
}

clearfix
http://stackoverflow.com/questions/14973317/understanding-bootstraps-clearfix-class

【热门文章】
【热门文章】