Skip to content

Instantly share code, notes, and snippets.

View rossthedevigner's full-sized avatar

Ross Lemenille rossthedevigner

View GitHub Profile
@rossthedevigner
rossthedevigner / aspect.styl
Last active April 17, 2016 14:10
Aspect ratio styl
.container
left: calc(100vw/2 - 16/9*1.2*100vh/2);
width: calc(16/9*1.2*100vh);
height: 100vh;
padding-bottom: 0
img
width: 100%