jQuery Background Fit Plugin Demos

Fluid Size (height fixed)

jquery.background-fit.js

background-size: 100%;

background-size: cover;

background-size: contain;

background-size: auto;

background-size: 100% auto;

background-size: auto 100%;

background-size: none;

No background image

Fixed Size

jquery.background-fit.js

background-size: 100%;

background-size: cover;

background-size: contain;

background-size: auto;

background-size: 100% auto;

background-size: auto 100%;

background-size: none;

No background image