Forums

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

Home Forums Other [Solved] Image Float Help

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

    Here is my codepen
    My CodePen

    I know I have to use the clear:both on the 3rd “col-1-4”

    My concern is adding more pictures in the future.
    Is this a place I should use the clearfix?
    Should I use a pseudo on every 3rd “col-1-4”?

    #176888
    Paulie_D
    Member

    It depends on what layout you are trying to achieve.

    #176915
    Paulie_D
    Member

    You coul add this to your 800px media query

    
    .col-1-4:nth-child(3n) {
          clear:left;
        }
    

    http://codepen.io/Paulie-D/pen/Dtcsj?editors=010

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