Youtube and Vimeo responsive – elastic videos with CSS and HTML
The idea behind responsive videos is to create a box with the proper ratio (4:3, 16:9, etc.), then make the video inside that box stretch to fit the dimensions of the box. The main trick with elastic videos is to make use of the padding property which is the magic that styles a box with an intrin…
usefulmixcom