jaames / iro.js

🎨 Modular color picker widget for JavaScript, with support for a bunch of color formats

Home Page:https://iro.js.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webkit: IroWheelSaturation

raphael-buechler opened this issue · comments

Hi there,

I have found a problem in the radial-gradient with webkit.
For webkit transparent is black with 0% alpha.

There is a simple fix.

Change in the class IroWheelSaturation:
radial-gradient(circle closest-side, rgb(255, 255, 255), transparent)

To:
radial-gradient(circle closest-side, rgb(255, 255, 255), rgba(255, 255, 255, 0))

More info to the problem: https://css-tricks.com/thing-know-gradients-transparent-black/

Greez