111 lines
3.8 KiB
HTML
111 lines
3.8 KiB
HTML
<!doctype html>
|
|
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
|
|
<html class="no-js" lang="en" dir="ltr">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
|
<title>Offset classes</title>
|
|
<link href="../assets/css/foundation.css" rel="stylesheet" />
|
|
<style>
|
|
body {
|
|
padding: 30px;
|
|
}
|
|
|
|
.demo {
|
|
background: #1779ba;
|
|
}
|
|
|
|
.cell {
|
|
/*background: dodgerblue;*/
|
|
line-height: 50px;
|
|
height: 50px;
|
|
color: white;
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Grid Offset</h1>
|
|
|
|
<h2>Margin Grid Offset</h2>
|
|
|
|
<div class="grid-x grid-margin-x">
|
|
<div class="cell small-1 small-offset-1"><div class="demo">1</div></div>
|
|
</div>
|
|
<div class="grid-x grid-margin-x">
|
|
<div class="cell small-1 small-offset-2"><div class="demo">2</div></div>
|
|
</div>
|
|
<div class="grid-x grid-margin-x">
|
|
<div class="cell small-1 small-offset-3"><div class="demo">3</div></div>
|
|
</div>
|
|
<div class="grid-x grid-margin-x">
|
|
<div class="cell small-1 small-offset-4"><div class="demo">4</div></div>
|
|
</div>
|
|
<div class="grid-x grid-margin-x">
|
|
<div class="cell small-1 small-offset-5"><div class="demo">5</div></div>
|
|
</div>
|
|
<div class="grid-x grid-margin-x">
|
|
<div class="cell small-1 small-offset-6"><div class="demo">6</div></div>
|
|
</div>
|
|
<div class="grid-x grid-margin-x">
|
|
<div class="cell small-1 small-offset-7"><div class="demo">7</div></div>
|
|
</div>
|
|
<div class="grid-x grid-margin-x">
|
|
<div class="cell small-1 small-offset-8"><div class="demo">8</div></div>
|
|
</div>
|
|
<div class="grid-x grid-margin-x">
|
|
<div class="cell small-1 small-offset-9"><div class="demo">95</div></div>
|
|
</div>
|
|
<div class="grid-x grid-margin-x">
|
|
<div class="cell small-1 small-offset-10"><div class="demo">10</div></div>
|
|
</div>
|
|
<div class="grid-x grid-margin-x">
|
|
<div class="cell small-1 small-offset-11"><div class="demo">11</div></div>
|
|
</div>
|
|
|
|
<h2>Padding Grid Offset</h2>
|
|
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell small-1 small-offset-1"><div class="demo">1</div></div>
|
|
</div>
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell small-1 small-offset-2"><div class="demo">2</div></div>
|
|
</div>
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell small-1 small-offset-3"><div class="demo">3</div></div>
|
|
</div>
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell small-1 small-offset-4"><div class="demo">4</div></div>
|
|
</div>
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell small-1 small-offset-5"><div class="demo">5</div></div>
|
|
</div>
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell small-1 small-offset-6"><div class="demo">6</div></div>
|
|
</div>
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell small-1 small-offset-7"><div class="demo">7</div></div>
|
|
</div>
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell small-1 small-offset-8"><div class="demo">8</div></div>
|
|
</div>
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell small-1 small-offset-9"><div class="demo">95</div></div>
|
|
</div>
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell small-1 small-offset-10"><div class="demo">10</div></div>
|
|
</div>
|
|
<div class="grid-x grid-padding-x">
|
|
<div class="cell small-1 small-offset-11"><div class="demo">11</div></div>
|
|
</div>
|
|
|
|
<script src="../assets/js/vendor.js"></script>
|
|
<script src="../assets/js/foundation.js"></script>
|
|
<script>
|
|
$(document).foundation();
|
|
</script>
|
|
</body>
|
|
</html>
|