Make background-color flicker in CSS

HTML, CSS and anything else that deals with client side capabilities.

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Make background-color flicker in CSS

Post by simonmlewis »

I am looking at a feature whereby when someone clicks from an external cart, back to the main web site, it knows where they have come from, and then flickers the cart DIV to say "this is what you have just updated".

I know how to identify the URL, but I don't know how in CSS to say "this colour before, this colour after and transition:background-color 0.4s'.

Can it be done?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Make background-color flicker in CSS

Post by simonmlewis »

Doesn't matter now. Found a nicer way - show a box with arrow, and make it fade out after a few seconds. Nicer and a little less annoying.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
Post Reply