Sha256: 940908fee4a186e0b6ecfa6edc59ca04dd26de2eb97c5759906e044b65e43182

Contents?: true

Size: 384 Bytes

Versions: 2

Compression:

Stored size: 384 Bytes

Contents

// from http://css-tricks.com/perfect-full-page-background-image/
// should use http://stackoverflow.com/questions/1342994/check-browser-css-property-support to degrade
@mixin image_background($image_url) {
  background: $image_url no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
patterns-0.1.1 app/assets/stylesheets/layout/_image_background.scss
patterns-0.1.0 app/assets/stylesheets/layout/_image_background.scss