img {
max-width: 100%; }
<meta name="viewport" content="width=device-width, initial-scale=1">
device-width
@media screen and (min-width:480px) and (max-width:800px) { /* Target landscape smartphones, portrait tablets, narrow desktops */ } @media screen and (max-width:479px) { /* Target portrait smartphones */ }
@media screen and (max-width: 800px) { /* specific CSS */ }
@media screen and (max-width: 479px) {
/* specific CSS */ }