@media only screen and (max-width: 768px) { /* For mobile phones: */ [class*="col-"] { width: 100%; } }