Forums

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

Home Forums CSS Expanding elements outside the flow of the document

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #42509
    ChrisP
    Participant

    Hi all,

    I have a page list I’m working on, reduced test case [here](http://codepen.io/ChrisPlz/pen/xnCdB “”).

    I’m trying to make it so the height of the element expands without effecting the normal flow of the document, and without using absolute positioning on the element _in the non-hover state_. Since this is a page list, there will be pages added on a regular basis.

    I’m basically looking for the green line to remain unchanged.

    Scratching my head over how to do this with just CSS..in the pen, I’ve settled on a negative margin to compensate for the adjusted height, but I doubt that’s the best option.

    Any suggestions would be greatly appreciated.

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