Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Oct 2011
    Location
    Utah
    Posts
    37
    Thanks
    19
    Thanked 0 Times in 0 Posts

    Css Tab Animation

    I found this awesome code for css tabs and I am trying to find a way for it to work with some of the new css animation effects. I want each tab to fad in and fade out. Does anyone have any ideas how this can be done using only css?

    http://dl.dropbox.com/u/14080718/CSSTabs/index.html
    Last edited by NateG; 12-22-2011 at 09:17 PM.

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Hello NateG,
    CSS is not going to be able to do any sort of transition/fade affect. You will need to look into js/jQuery for that.

    http://www.queness.com/post/411/crea...fadeout-effect looks good...
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #3
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,624
    Thanks
    6
    Thanked 1,001 Times in 974 Posts
    That’s a slick demo there. Now, you could work with CSS transitions for the fading effect.

    (Sorry, Excavator, to step on your toes.)

  • Users who have thanked VIPStephan for this post:

    Excavator (12-23-2011)

  • #4
    New Coder
    Join Date
    Oct 2011
    Location
    Utah
    Posts
    37
    Thanks
    19
    Thanked 0 Times in 0 Posts
    I thought it might be possible. I have tried a few transition codes, but I cant get it to work. Any ideas.

    Thanks for all of the help.

  • #5
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,675
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Quote Originally Posted by VIPStephan View Post
    That’s a slick demo there. Now, you could work with CSS transitions for the fading effect.

    (Sorry, Excavator, to step on your toes.)


    I've always thought it should be possible. Thanks for the link VIP, I'm going to study up on this a bit.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •