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 3 of 3
  1. #1
    Regular Coder
    Join Date
    Jul 2008
    Posts
    112
    Thanks
    32
    Thanked 0 Times in 0 Posts

    CSS technique tutorial - ?

    Hi,

    Please see url: http://www.mdvip.com/.

    Scroll down the page and see how the top section of the page completely collapses and displays the second section of the page. I think this is pure CSS with no .js but I can't really tell anything by the code (flexbox maybe??). Anyway, I would love to know how to do this if anyone is familiar with the technique used here. If you know of a tutorial you can point me to that would be great.

    ​Thanks!

  • #2
    New Coder
    Join Date
    Jul 2012
    Posts
    67
    Thanks
    14
    Thanked 6 Times in 6 Posts
    This is likely a combination of javascript and CSS. Check out:

    http://stackoverflow.com/questions/1...en-scrolled-to

    for a nice how-to.

  • Users who have thanked superwookie for this post:

    johndove523 (01-06-2014)

  • #3
    Regular Coder
    Join Date
    Jul 2008
    Posts
    112
    Thanks
    32
    Thanked 0 Times in 0 Posts
    Thank you.


  •  

    Posting Permissions

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