خرید بک لینک

Vote count: 0

I have a select element with a SVG as background image. I want to use hex color for the SVG but it only works with color names:

select  {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='Portage'><polygon points='0,0 100,0 50,50'/></svg>")  no-repeat;
}

When i use

fill="#ff0000"

ths SVG is not visible, I have to use

fill="red"

Is there any workaround?

asked 7 mins ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 27 اسفند 1394 ساعت: 17:30

صفحه بندی