twbs / bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
https://getbootstrap.com
MIT License
170.44k stars 78.82k forks source link

Duplicate code #9604

Closed InsiteFX closed 11 years ago

InsiteFX commented 11 years ago

Is there a reason that there's alot of duplicate code in the css source file?

SEE BELOW:

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

.container:after { clear: both; }

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

.row:after { clear: both; }

.form-horizontal .form-group:before, .form-horizontal .form-group:after { display: table; content: " "; }

.form-horizontal .form-group:after { clear: both; }

.nav:before, .nav:after { display: table; content: " "; }

.nav:after { clear: both; }

.tabbable:before, .tabbable:after { display: table; content: " "; }

.tabbable:after { clear: both; }

.navbar:before, .navbar:after { display: table; content: " "; }

.navbar:after { clear: both; }

.navbar-collapse:before, .navbar-collapse:after { display: table; content: " "; }

.navbar-collapse:after { clear: both; }

.btn-toolbar:before, .btn-toolbar:after { display: table; content: " "; }

.btn-toolbar:after { clear: both; }

.pager:before, .pager:after { display: table; content: " "; }

.pager:after { clear: both; }

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

.modal-footer:after { clear: both; }

cvrebert commented 11 years ago

Duplicate of #8947. Please search next time.