A
A
Alexey Chertok2015-09-23 13:07:42
JavaScript
Alexey Chertok, 2015-09-23 13:07:42

How to animate a block with jQuery?

Good afternoon. How can I animate an element using jQuery?
To have a highlight effect for borderColor for example. Just don't offer jQuery UI. Or in some other way. Thanks in advance.

$('.vHeaderBasket').animate(...)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Ineshin, 2015-09-23
@IonDen

It is possible without JS at all. Something like this: jsfiddle.net/x8rqvp32

S
Serdji, 2015-09-23
@ssumatokhin

If you want to dissect a color so that it flows from one color to another, you will have to connect an additional plugin to jQuery anyway, such as jQuery Color . And yet, it is not necessary to download the entire JQuery UI, you can also download individual modules from it. And then it's a matter of fantasy))))

A
Andrew, 2015-09-23
@Menlod

You can do something like this jsfiddle.net/ch44dnuq , only you need more animation steps and less execution time

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question