Forums

Give help. Get help.

  • # January 26, 2018 at 4:56 am

    Hi, I want to center element within scroll.

    In my codepen example I have three sections.
    the middle section contain two divs. each half .
    I want to vertical center the the first div even I scroll the middle section.

    I can’t find any solution for this..
    (please do not change the layout..)

    any ideas?

    codepen:

    # January 26, 2018 at 8:30 am

    Seems to me that you want the “blue” section to scroll but not the “yellow”…right.

    Frankly, I think this will require a change in the HTML.

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

You must be logged in to reply to this topic.

icon-anchoricon-closeicon-emailicon-linkicon-logo-staricon-menuicon-nav-guideicon-searchicon-staricon-tag