A jQuery cssHook adding support for “cover” and “contain” to IE6-7-8, in 1.5K.All was well until I discovered the elegance of
background-size: cover; and
background-size: contain;. The first one, for instance, allows an image to completely cover a background, without having to send a 1920×1080 background image down the pipes.
Unfortunately, they don’t degrade gracefully: websites would likely appear broken to IE6-7-8 users …unless you use this cssHook!