Utilizor
Contact Us

RWD Images

Responsive images are images that scale nicely to fit any browser size.

Responsive Web Design - Images

Responsive images are images that scale nicely to fit any browser size.

Using the width Property

If the CSS width property is set to 100%, the image will be responsive and scale up and down.

Responsive Image

Using the max-width Property

If the max-width property is set to 100%, the image will scale down if it has to, but never scale up to be larger than its original size.

Example

img {
  max-width: 100%;
  height: auto;
}