ratio-box mixin

Ported from Scut (SASS)