Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ef87c10

Browse files
committedJun 10, 2023
02-grid: solution, style, desired-outcome
1 parent f79e581 commit ef87c10

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed
 
-132 KB
Loading
-170 KB
Loading

‎grid/02-grid-layout-2/solution/solution.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
body, html {
1+
body,
2+
html {
23
height: 100%;
34
margin: 0;
45
}
@@ -20,21 +21,21 @@ body, html {
2021
}
2122

2223
.header {
23-
background-color: #FFDE22;
24+
background-color: #006157;
2425
grid-column: 1 / 3;
2526
}
2627

2728
.sidebar {
28-
background-color: #FF7755;
29+
background-color: #005B94;
2930
grid-row: 2 / 4;
3031
}
3132

3233
.nav {
33-
background-color: #00DDFF;
34+
background-color: #642cde;
3435
}
3536

3637
.article {
37-
background-color: #bccbde;
38+
background-color: #7E1DC3;
3839
}
3940

4041
.article p {
@@ -56,4 +57,4 @@ body, html {
5657
grid-template-columns: 1fr 3fr;
5758
grid-template-rows: 1fr 1fr 5fr 1fr;
5859
gap: 15px;
59-
}
60+
}

‎grid/02-grid-layout-2/style.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
body, html {
1+
body,
2+
html {
23
height: 100%;
34
margin: 0;
45
}
@@ -20,21 +21,21 @@ body, html {
2021
}
2122

2223
.header {
23-
background-color: #FFDE22;
24+
background-color: #006157;
2425
grid-column: 1 / 3;
2526
}
2627

2728
.sidebar {
28-
background-color: #FF7755;
29+
background-color: #005B94;
2930
grid-row: 2 / 4;
3031
}
3132

3233
.nav {
33-
background-color: #00DDFF;
34+
background-color: #642cde;
3435
}
3536

3637
.article {
37-
background-color: #bccbde;
38+
background-color: #7E1DC3;
3839
}
3940

4041
.article p {
@@ -47,4 +48,4 @@ body, html {
4748
.footer {
4849
background-color: #393f4d;
4950
grid-column: 1 / 3;
50-
}
51+
}

0 commit comments

Comments
 (0)
Failed to load comments.