|
// defines .row--hero class for edgless, fade to black image straps |
|
|
|
=edgeless-background($image) |
|
background: -moz-linear-gradient(left, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,1) 90%, rgba(0,0,0,1) 100%), url($image) no-repeat center top /* FF3.6+ */ |
|
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,1)), color-stop(10%,rgba(0,0,0,1)), color-stop(30%,rgba(0,0,0,0)), color-stop(70%,rgba(0,0,0,0)), color-stop(90%,rgba(0,0,0,1)), color-stop(100%,rgba(0,0,0,1))), url($image) no-repeat center top /* Chrome,Safari4+ */ |
|
background: -webkit-linear-gradient(left, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 10%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 70%,rgba(0,0,0,1) 90%,rgba(0,0,0,1) 100%), url($image) no-repeat center top /* Chrome10+,Safari5.1+ */ |
|
background: -o-linear-gradient(left, rgba(0,0,0,1) 0%,rgba(0,0,0,1) 10%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 70%,rgba(0,0,0,1) 90%,rgba(0,0,0,1) 100%), url($image) no-repeat center top /* Opera 11.10+ */ |
|
ba |