use col-md-12 with flex code example Example: .col-12 bootstrap .col-12{ flex: 0 0 100%; max-width: 100%; }