# louisremi/background-size-polyfill

Adds support for background-size "cover" and "contain" to IE8

Repository: https://github.com/louisremi/background-size-polyfill
Canonical: https://ross.abutalabs.com/products/background-size-polyfill
Homepage: http://louisremi.github.com/background-size-polyfill/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2013-12-09T09:01:27+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5034, "days_push": 4650, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1248, forks 352 (observed 2026-08-28T04:04:07.835294+00:00)

## What it is
An IE behavior (.htc) polyfill that adds support for the CSS3 background-size 'cover' and 'contain' values to Internet Explorer 8. It emulates the feature by inserting and positioning an <img> element behind the styled content.

## Use cases
- make background-size cover work in ie8
- polyfill css background-size contain for old internet explorer
- fix broken backgrounds in ie8 without huge images
- support cover backgrounds on legacy browsers
- progressive enhancement fallback for ie8 css3 backgrounds

## When to choose
- you must support IE8 and rely on background-size cover/contain
- maintaining a legacy site that still targets old IE

## When to avoid
- you don't need to support IE8 or older IE browsers
- you need multiple backgrounds, repeat values, or full background-size fidelity
- starting a new modern project

## Facets
- artifact type: library
- maturity: abandoned
- function: ui-components
- domain: web-development, frontend, browser-extensions
- platform: browser, windows
- tags: css-polyfill, ie8, background-size, htc-behavior, css3, polyfill

## Member repositories
- louisremi/background-size-polyfill (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:07.835294+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:07:53.698862+00:00, confidence not recorded.
  - readme: https://github.com/louisremi/background-size-polyfill (fetched 2026-08-28T04:04:07.835294+00:00, sha 527240c3e4e1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
