Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file removed grid.css
Empty file.
21 changes: 19 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,26 @@
<html>
<head>
<link rel="stylesheet" href="grid.css">
<head>
<link rel="stylesheet" href="style.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-uWxY/CJNBR+1zjPWmfnSnVxwRheevXITnMqoEIeG1LJrdI0GlVs/9cVSyPYXdcSF" crossorigin="anonymous">
</head>
<body>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-kQtW33rZJAHjgefvhyyzcGF3C5TFyBQBA13V1RKPf4uH+bwyzQxZ6CmMZHmNBEfJ" crossorigin="anonymous"></script>
<form>
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp">
<div id="emailHelp" class="form-text">We'll never share your email with anyone else.</div>
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1">
</div>
<div class="mb-3 form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label" for="exampleCheck1">Check me out</label>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<div class="container">
<div class="header">HEADER</div>
<div class="menu">MENU</div>
Expand Down
31 changes: 29 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,32 @@
background-color: #ffcc5c;
}



.container {
display: grid;
grid-template-columns: 12fr 24fr;
grid-template-rows: 4fr 20fr 4fr;
grid-gap: 3px;

}

.header {
grid-column: 2/-1;

}

.menu{

grid-row: 1/3;
}

.content {

grid-column:2/-1 ;

}

.footer {

grid-column: 1/-1;

}