Reputation: 1621
How do I make gradients for other browsers starting from a Mozilla gradient. I have used a Mozilla gradient for awhile but I recently found out you need to make a gradient for every browser in the css code inorder for it to work on all browsers. I've only seen websites let you create a gradient and it will generate the code for all browsers but I have not found something to make a moz gradient for all other browsers.
This is the gradient I want converted:
background-image: -moz-linear-gradient(center top , #9BC0DD, #C9DEED);
Upvotes: 1
Views: 176
Reputation: 4339
There are many limited gradient generators available on the net but they can't create the SVG (IE9) code or old Webkit code for complex gradients that involve repeats, angles, explicit positions etc.
There's a small app at VisualCSSTools that will create the code for all CSS linear and radial gradients.
The only limitation is that the old Webkit syntax does not allow elliptical radial gradients; these are converted to circular gradients.
Upvotes: 0
Reputation: 1015
This will help you for the same
http://www.colorzilla.com/gradient-editor/
Upvotes: 0
Reputation: 22181
The tool that @omarello cited is a great tool. Isn't this gradient the one you're trying to reproduce?
EDIT: what I did to reproduce your gradient:
center top
is the same as top
I guess, neither horiz., diag. nor radial) and IE codeUpvotes: 2