I'm currently working on a project that involves using input type color. My goal is to create a gradient using these colors. Any suggestions on how I can achieve this?
Here are the color tags:
<div id="part1" align=center>
<input type="color" id = color>
<input type="color" id = color2>
EDIT: I have only attempted:
$("body").css("background-color",clr);
But as far as I know, this method does not support gradients.