css3 - Compass Linear Gradient + Image -
is possible add linear gradient , image same element compass? here code trying can't seem display:
background-color: #ffffff; // old browsers @include filter-gradient(#ffffff, #ededed, vertical); // ie6-8 $experimental-support-for-svg: true; @include background(linear-gradient(top, #ffffff 0%,#ededed 100%), image-url('../img/questionmark.png' top, left, no-repeat)); padding: 10px; font-size: 14px; border-bottom: solid 1px #d3d3d3;
it's possible - instead of non-existing . in example gradient cover image (what comes first in declaration in closer top).image-url
use url
the example pen gradient , image.
edit
the answer, while solving problem, misleading.
the image-url
function
contrary wrote before does exist. returns url image relative compass images folder.
Comments
Post a Comment