ScalesCSS / scalescss

A design-free, modular collection of OOCSS patterns, framework settings, and utilities for quickly building responsive web projects
http://scalescss.github.io/scalescss/
MIT License
37 stars 15 forks source link

Add intrinsic-ratio pattern #8

Closed VinSpee closed 9 years ago

VinSpee commented 11 years ago

This pattern allows you to preserve the aspect ratio of video using padding. It requires that you know the ratio of your video (16:9 is provided by default). See CSS Tricks for this technique.

VinSpee commented 11 years ago

@yodasw16 what did you want to accept this again? it in the comp lib, but what else?

yodasw16 commented 11 years ago

Mostly just putting it in the component library. I would like to see an example of it used in a media block as well.

yodasw16 commented 9 years ago

Closing this since it would have to be rewritten for v2.