Treehouse: Grow your CSS skills. Land your dream job.

Fading Background Color during Page Transitions

  • # July 31, 2012 at 1:51 pm

    Check out this site:

    Does anyone know how to fade the background color from Page to Page.
    Something to note: When you travel from Page 1 to Page 2, the background color from Page 1 lingers for a second when you first land on Page 2 and then the background color transitions from the lingering Page 1 color to the Page 2 color.


    # July 31, 2012 at 3:53 pm

    It’s done with Javascript…more specifically jQuery.

    If you inspect the site you’ll find a script called color-query.js

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.