Skip to content

Commit

Permalink
Merge pull request #10 from tropikalis/basic-layout
Browse files Browse the repository at this point in the history
Basic layout #2
  • Loading branch information
tropikalis authored Jul 8, 2024
2 parents 0920f3c + 4db716d commit 4497326
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
23 changes: 23 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
* {
box-sizing: border-box;
}

body {
display: grid;
grid-template-columns: 300px 1fr;
margin: 0;
min-height: 100vh;
background-color: bisque;
}

aside {
}

main {
background-color: white;
}





10 changes: 9 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="./css/main.css">
</head>

<body>

<aside>
ASIDE
</aside>
<main>
MAIN
</main>
</body>

</html>

0 comments on commit 4497326

Please sign in to comment.