/* No greater than 768px, no less than 400px */ @media (max-width:768px) and (min-width:400px) { .class { font-size: 15px; } }