xxxxxxxxxx
/* CSS code to make webpage responsive for mobile devices */
/* Mobile-first approach */
body {
font-size: 16px;
}
@media (max-width: 600px) {
/* CSS rules for screens smaller than or equal to 600px */
body {
font-size: 14px;
}
}
xxxxxxxxxx
@media only screen and (max-width: 768px) {
/* For mobile phones: */
[class*="col-"] {
width: 100%;
}
}