Sha256: 47f9362c720fd049f7b48d37f435cf56093cd6d03d0ddf000c749909af4075ff
Contents?: true
Size: 1.11 KB
Versions: 87
Compression:
Stored size: 1.11 KB
Contents
=bg-size($value) @if list($value) @if str-slice(nth($value, 1), 1, 1) == '/' $bg-size-value: str-slice(nth($value, 1), 2) nth($value, 2) +background-size($bg-size-value) @else +background-size($value) @else @if str-slice(nth($value, 1), 1, 1) == '/' $bg-size-value: str-slice(nth($value, 1), 2) +background-size($bg-size-value) @else +background-size($value) // どこでも background-color と background-image と background-position と background-repeat が書ける設定 =background-basics($value) @if background_color($value) background-color: $value @else if background_image($value) background-image: image_url("#{$value}") @else if background_position($value) background-position: $value @else if background_repeat($value) background-repeat: $value @else if background_attachment($value) background-attachment: $value @else if background_size($value) +bg-size($value) // +bg(black 'image.png' (left center) no-repeat fixed (/ 20px 30px)) =bg($value) @for $i from 1 through length($value) +background-basics(nth($value, $i))
Version data entries
87 entries across 87 versions & 3 rubygems