Forums

This topic contains 1 reply, has 2 voices, and was last updated by  Paulie_D 11 months, 4 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #266025

    wizardnet972
    Participant

    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:

    #266038

    Paulie_D
    Moderator

    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-link icon-logo-star icon-search icon-star