I have a div that it's style is like this:
{
background-color: white;
transition: background-color 0.3 linear;
}
and I want to do this:
$(".div").css("background-color", "orange");
$(".div").css("background-color", "white");
I want the div to become orange in 0.3 seconds and become white again in another 0.3 seconds. what should I do?