gitmyhub

focal-point

★ 0 updated 13y ago ⑂ fork

A small set of CSS classnames to help keep images cropped on the focal point for responsive designs. Using only HTML/CSS, web authors can specify an image's focal point, which stays as the image's primary focus, while the image's available width changes on responsive webpages. Crop and re-size images depending on available width and let CSS to do all of the work, and without any JavaScript.

No plain-English explanation yet — one is being written right now. Check back in a minute.