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 image-url use url. in example gradient cover image (what comes first in declaration in closer top).

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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -