Skip to main content

Responsive image demos, with fit and fill

Original image, 600px wide​

Demos are in divs of varying size & blue background​


Fit & 200px height div​

Fill & 200px height div​

Ignore & 200px height div​


Fit & 100px height div​

Fill & 100px height div​

Ignore & 100px height div​


Fit & fixed size images​

Fill & fixed size images​

Ignore & fixed size images​


Fit & 150px height images​

Fill & 150px height images​

0

Ignore & 150px height images​

1


Fit & 150px cropped height images​

2

Fill & 150px cropped height images​

3

Ignore & 150px cropped height images​

4


Fit & a tall div​

5

Fill & a tall div​

6

Ignore & a tall div​

7


Fit, % scale & a tall div​

8

Fill, % scale & a tall div​

9

Ignore, % scale & a tall div​

0


Fit, px scale & a tall div​

1

Fill, px scale & a tall div​

2

Ignore, px scale & a tall div​

3