Skip to content

Instantly share code, notes, and snippets.

@joshuapaling
Created November 10, 2015 21:52
Show Gist options
  • Save joshuapaling/78cbfc92289ce52c66e2 to your computer and use it in GitHub Desktop.
Save joshuapaling/78cbfc92289ce52c66e2 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">
.box {
width: 300px;
height: 300px;
float: left;
border: 9px solid red;
}
.box.green {
border: 9px solid green;
background: #bbb;
position: relative;
top: 10px;
left: 10px;
}
</style>
</head>
<body>
<div class="box">1</div>
<div class="box">2</div>
<div class="box">3</div>
<div class="box">4</div>
<div class="box">5</div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box green"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box">2</div>
<div class="box">3</div>
<div class="box">4</div>
<div class="box">5</div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
<div class="box"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment