top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How to use CSS3 Transitions ?

0 votes
How to use CSS3 Transitions ?
posted Jul 30, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

There can only be a transition for a CSS property from one value to another. For a fade transition, the opacity should go from 0 to one.


.foo {
   opacity: 0;
   transition: all 400ms;
} {
   opacity: 1

The property display that assign the method toggle () can't be animated with the CSS transitions. Maybe you want to look at fadeIn() and fadeOut().


Another method fadeToggle() i don't know much about it but you can search and use this:

answer Aug 4, 2014 by Rahul Singh
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.