JSFiddle - React, Tailwind, and code Playground

by Valentin Radulescu

HTML

<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css">
<div class="container">
    <div class="row">
        <div class="col-sm-offset-3 col-sm-6 col-xs-12">
            <h1>B</h1>
        </div>
        <div class="col-sm-3 col-xs-6 shift-me">
            <h1>A</h1>
        </div>
        <div class="col-sm-3 col-xs-6">
            <h1>C</h1>
        </div>
    </div>
</div>

CSS

.row {
    position: relative;
}
.row > div {
    border: 2px solid black;
}
.shift-me {
    position: absolute;
    top: 0;
    left: 0;
}
@media (max-width: 768px) {
    .shift-me {
        position: static;
    }
}