biofriction-wp-theme/node_modules/foundation-sites/test/visual/xy-grid/block-grid.html

78 lines
2.8 KiB
HTML
Raw Normal View History

2021-10-26 14:18:09 +02:00
<!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>xy block grid</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>Block Grid</h1>
<h2>Margin Block Grid</h2>
<p>small 2, medium 4, large 6</p>
<div class="grid-x grid-margin-x small-up-2 medium-up-4 large-up-6">
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
</div>
<h2>Padding Block Grid</h2>
<p>small 1, medium 3, large 5</p>
<div class="grid-x grid-padding-x small-up-1 medium-up-3 large-up-5">
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
<div class="cell"><div class="demo">cell</div></div>
</div>
<script src="../assets/js/vendor.js"></script>
<script src="../assets/js/foundation.js"></script>
<script>
$(document).foundation();
</script>
</body>
</html>