Skip to content

left-sidebar-check.php has a div tag with a class of just "col-md" (no number) ...why? #385

Closed Answered by bryanwaddington
currentcreative asked this question in Q&A
Discussion options

You must be logged in to vote

col-md is a valid class. Without the number, equal columns are created from that breakpoint and up. In the following example there are three equal columns on small and four on medium. On small the fourth column wraps to the next row.

https://codepen.io/bryanwadd/pen/dyajMev

<div class="container">
  <div class="row">
    <div class="col-sm card">
      One of three columns
    </div>
    <div class="col-sm card">
      One of three columns
    </div>
    <div class="col-sm card">
      One of three columns
    </div>
    <div class="col-md card">
      One of three columns
    </div>
  </div>
</div>

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@bacoords
Comment options

@currentcreative
Comment options

@bacoords
Comment options

@currentcreative
Comment options

@bryanwaddington
Comment options

Answer selected by currentcreative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants