Grid stuff, I think?
This commit is contained in:
parent
d1652164ac
commit
133080bf14
@ -1,7 +1,7 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Grid starting point</title>
|
||||
<style>
|
||||
@ -18,10 +18,18 @@
|
||||
background-color: rgb(207,232,220);
|
||||
border: 2px solid rgb(79,185,227);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
.container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
||||
grid-auto-rows: minmax(100px, auto);
|
||||
grid-gap: 20px;
|
||||
gap: 20px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Simple grid example</h1>
|
||||
|
||||
<div class="container">
|
||||
@ -34,6 +42,5 @@
|
||||
<div>Seven</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
x
Reference in New Issue
Block a user