Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simple bootstrap grid system
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>row and col</title>
<style>
.row {
margin-right: -15px;
margin-left: -15px;
}
.col {
width: 33.333%;
float: left;
display: inline-block;
padding: 15px;
box-sizing: border-box;
}
</style>
</head>
<body>
<div class="row">
<div class="col"> col 1 </div>
<div class="col"> col 2 </div>
<div class="col"> col 3 </div>
</div>
</body>
</html>
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.