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

Home Forums CSS Responsive Column Height

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #45378

    I have the codepen set to where the .col set to a fixed height and the .post set to a fixed height as well. However, I would like the .post to be fluid width (say 90% of the window) and the .col will respond to that and be let’s say 23%. But when I do that it does some weird stuff. So can someone help me figure out how to tackle this?

    Thanks in advance


    You can’t set a fixed height on the column, shrink it horizontally and expect everything to still fit.

    You need to define what ‘weird’ means too. What would you like to happen when the viewport is resized*?

    *Something only developers do TBH.


    By weird I mean it would be 20% height of the body. So I can’t set the .col div to 20% height of the post? it can only be, for example, 120px?

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