MDN css layout grids fun
This commit is contained in:
parent
e19366c121
commit
d1652164ac
39
mdn-css-layout/grids/0-starting-point.html
Normal file
39
mdn-css-layout/grids/0-starting-point.html
Normal file
@ -0,0 +1,39 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Grid starting point</title>
|
||||
<style>
|
||||
body {
|
||||
width: 90%;
|
||||
max-width: 900px;
|
||||
margin: 2em auto;
|
||||
font: .9em/1.2 Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.container > div {
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
background-color: rgb(207,232,220);
|
||||
border: 2px solid rgb(79,185,227);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Simple grid example</h1>
|
||||
|
||||
<div class="container">
|
||||
<div>One</div>
|
||||
<div>Two</div>
|
||||
<div>Three</div>
|
||||
<div>Four</div>
|
||||
<div>Five</div>
|
||||
<div>Six</div>
|
||||
<div>Seven</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user