first 4 col-3 margin 0 trick code example Example: .col-12 bootstrap .col-12{ flex: 0 0 100%; max-width: 100%; }