Sha256: 5920e9145325abd9b7e99996c8f5ca99006d4f2dbb3de28915db7d3f13f30e90
Contents?: true
Size: 643 Bytes
Versions: 16
Compression:
Stored size: 643 Bytes
Contents
// // This will surround it's contents with an // appropriate media query. // // @type {iphone,ipad,desktop} // @mixin media($type:desktop){ @if $type == iphone { @media (max-width: 767px) { @content } } @else if $type == ipad { @media (min-width: 768px) and (max-width: 1019px) { @content } } @else if $type == desktop { @media (min-width: 1020px) { @content } } @else if $type == retina { @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { @content } } }
Version data entries
16 entries across 16 versions & 1 rubygems