@media only screen and (max-width: 640px) { /* Your CSS rules for mobile images go here */ }