Categories
Responsive Web Design (RWD)

RWD: Responsive web design recipes

1) Make an image size responsive to the page size.

– Set the parent container to an adjustable width, either via media queries, or percentages.

– Set the image itself to width: 100%, height: auto. So it will grow as the parent container does.