Skip to content

Instantly share code, notes, and snippets.

View sruthibc's full-sized avatar

Sruthi Krishna sruthibc

View GitHub Profile
@sruthibc
sruthibc / ken-burns.css
Created May 22, 2019 08:09 — forked from thierryk/ken-burns.css
Ken Burns effect (styling images with panning and zooming effects)
/**
* See: http://www.css-101.org/articles/ken-burns_effect/css-transition.php
*/
/**
* Styling the container (the wrapper)
*
* position is used to make this box a containing block (it becomes a reference for its absolutely positioned children). overflow will hide part of the images moving outside of the box.
*/