Created
May 12, 2015 06:40
-
-
Save runa-ichinose/63b95bfe102419063436 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.13) | |
// Compass (v1.0.3) | |
// ---- | |
// 付与するベンダープレフィックス | |
$prefixList: -webkit-, -moz-, -o-, null; | |
// background-size | |
@mixin bg_size($w, $h: auto) { | |
@each $prefix in $prefixList { | |
#{$prefix}background-size: $w $h; | |
} | |
} | |
/////////////////// | |
body { | |
background: #fff url(../imgbg_logo.png)no-repeat fixed; | |
@media screen and (-webkit-min-device-@ixel-radio: 1.5), | |
(min-resolution: 2dppx) { | |
@include bg_size(690px / 2, auto); | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Invalid CSS after "...kit-min-device-": expected ")", was "@ixel-radio: 1.5)," |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment