Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
set up
  • Loading branch information
Kevin io committed Nov 17, 2022
commit 94ac0981e5f489fa276a56fbde79eca18f6284a9
41 changes: 41 additions & 0 deletions 01-review/excercise/ex-1.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/* scroll for starting CSS and hints; instructions in JS window -> */

/* HINT: Three types of Grid syntax might include:
- line-based placement, like grid-column: 1 / 3;
- use the "span" keyword, like grid-column: span 2;
- use grid area notation





/* presentational CSS, no answers here -- ignore below this line */
div > div {
font-size: 5rem;
text-align: center;
color: white;
}
.a {
background-color: #fcb10f;
}
.b {
background-color: #801340;
}
.c {
background-color: #4d2975;
}
.d {
background-color: #244479;
}
.e {
background-color: #55b4af;
}
.f {
background-color: rgba(128, 19, 64, 0.7);
}
.g {
background-color: rgba(77, 41, 117, 0.5);
}
.h {
background-color: rgba(252, 177, 15, 0.7);
}
12 changes: 12 additions & 0 deletions 01-review/excercise/start.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<div class="wrapper">
<div class="a">A</div>
<div class="b">B</div>
<div class="c">C</div>
<div class="d">D</div>
<div class="e">E</div>
<div class="f">F</div>
<div class="g">G</div>
<div class="h">H</div>
</div>

<!-- <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/3273620/grid1.png" alt="Make it look like this, uncomment to see the image"> -->