Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Change Sliding Panel Fixed at Bottom of Page to be positioned at bottom of Div

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #254421
    greeh house
    Participant

    Hi, I’m trying to place a sliding panel inside a div, and position it at the bottom of the enclosing div. The code that I found has a fixed position at the bottom of the page.

    Here’s my example: https://codepen.io/greenhousegraphix/pen/JNJBNB

    When I changed position: fixed to position:absolute on line 9, the button did move from the bottom of the page to the bottom of the div. But the sliding panel is now visible.

    Any suggestions?

    #254424
    JeroenR
    Participant

    You can set overflow: hidden; on your first DIV. Then it won’t show your absolute positioned DIV.

    #254438
    greeh house
    Participant

    Thank you, that’s exactly what I needed!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.