1
Well, I’ll try to explain in the best way, what I intend to do:
I have a div with the border id, which actually div serves as edge.
I intend to make an effect in jQuery, run color change, top to bottom, ie it is red, then goes orange, yellow, green etc...
Basically it is to make the div change color with fade and run...
How can I do that?
Thank you.
take a look here: CSS Gradient Border
– Douglas Garrido
It’s like this, Douglas, only I want the colors to be always running in real time with jquery
– Gonçalo
put what you already have as code brother
– andrepaulo
I have no code, which is why I intend to do this.
– Gonçalo
Do you need to animate the colors? If yes, don’t use jQuery for this, the CSS itself already has a feature called CSS Animations. Create on this site your color animation, and change the code according to what you need for your "edge", use
background
instead ofborder-color
. CSS Gradient Animator– Douglas Garrido
Can you give an example?
– Gonçalo
@Gonçalo, if you didn’t take the trouble to research and learn to try something, who are we to help you? We are not here to work for you, but to help solve problems you encountered in the middle of development.
– Lucas