Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Simple bootstrap grid system
<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>row and col</title>
.row {
margin-right: -15px;
margin-left: -15px;
.col {
width: 33.333%;
float: left;
display: inline-block;
padding: 15px;
box-sizing: border-box;
<div class="row">
<div class="col"> col 1 </div>
<div class="col"> col 2 </div>
<div class="col"> col 3 </div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.