How to make css element opacity switches from 0 to 1 in no time? -


i wondering whether there way through css in order make element of opacity 0 turns 1 without transition time. in other words, need make element totally unseen appears after 4 seconds. no fade-in or out. appear complete brighteness (opacity).

use combination of visibility , opacity:

transition:visibility 0s linear 0.5s,opacity 0.5s linear; 

in demo, hovering on menu displays after 0.5s.

http://www.greywyvern.com/?post=337#example5

simple step-to-end transition:

http://jsfiddle.net/samliew/7eskk/


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -