PHP Developers Network
http://forums.devnetwork.net/

Make background-color flicker in CSS
http://forums.devnetwork.net/viewtopic.php?f=68&t=141007
Page 1 of 1

Author:  simonmlewis [ Tue Feb 24, 2015 9:01 am ]
Post subject:  Make background-color flicker in CSS

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?

Author:  simonmlewis [ Tue Feb 24, 2015 12:38 pm ]
Post subject:  Re: Make background-color flicker in CSS

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.

Page 1 of 1 All times are UTC - 5 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/