Skip to content

Commit

Permalink
Added grid layout in desktop view
Browse files Browse the repository at this point in the history
  • Loading branch information
JaelAguilar committed Dec 20, 2022
1 parent bc0fc19 commit d799629
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions css/desktop-view.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@media only screen and (min-width:768px) {
/* ==== GRID LAYOUT ==== */
body{
display:grid;
grid-template:auto 1fr auto / 66% 1fr;
}
header{
grid-area:1/1/1/1;
}
#result{
grid-area:1/2/-2/-1;
display:block;
}
footer{
grid-area:-2/1/-1/-1;
}
}

0 comments on commit d799629

Please sign in to comment.