bootstrap.css: .container: before display table

В bootstrap.css

вы можете найти либо из Github, либо из http://twitter.github.com/bootstrap/#

Почему он использует:

.container:before, .container:after {
  display: table;
  content: "";
  zoom: 1;
  }

  .row:before, .row:after {
   display: table;
   content: "";
   zoom: 1;
   }

Зачем определять display: table в .container: before / after и .row: before / after?

50
задан sscirrus 3 February 2015 в 14:37
поделиться