Sha256: 2f55da29839008510817654439074c2eec3e19b65679daa91a9a5bee413021cb
Contents?: true
Size: 492 Bytes
Versions: 14
Compression:
Stored size: 492 Bytes
Contents
@charset "UTF-8"; /// Parse media types. If the property is a string then return it, otherwise /// assume screen and min-width. /// /// @argument {string | number (with unit)} $media /// /// @return {number} /// /// @example scss /// _neat-parse-media($grid, 1000px) /// /// @access private @function _neat-parse-media($media) { @if type-of($media) == number { @return "only screen and (min-width: #{$media})"; } @else if type-of($media) == string { @return "#{$media}"; } }
Version data entries
14 entries across 14 versions & 5 rubygems