responsive mobile image scaling


/ Published in: CSS
Save to your folder(s)

allows image to scale to fit mobile windows.


Copy this code and paste it in your HTML
  1. img {
  2. width: auto !important;
  3. height: auto !important;
  4. max-width: 100%;
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.