Simple responsive columns

First test using JSFIDDLE. Example shows how CSS can be quickly used to create two columns that change to one column when screen size goes below 500px

by Dean O'Brien

HTML

<div class="col-holder">
    <div class="col col2 red">Left side text</div>
    <div class="col col2 green">Right side text</div>
</div>

CSS

.col-holder{position:relative;overflow:hidden}
.col {float:left}
.col2 {width:50%}
.red {background:#f00}
.green {background:#0f0}
@media screen and (max-width: 500px) {
    .col2 {width:100%}
}