grid-03: style, solution, desired-outcome
This commit is contained in:
parent
ef87c10dd5
commit
3c9fe0e270
Binary file not shown.
After Width: | Height: | Size: 83 KiB |
Binary file not shown.
Before Width: | Height: | Size: 466 KiB |
Binary file not shown.
Before Width: | Height: | Size: 535 KiB After Width: | Height: | Size: 94 KiB |
|
@ -26,7 +26,7 @@
|
|||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: #FF7755;
|
||||
background-color: #C50208;
|
||||
}
|
||||
|
||||
.sidebar .photo {
|
||||
|
@ -46,7 +46,7 @@
|
|||
}
|
||||
|
||||
.nav {
|
||||
background-color: #FF7755;
|
||||
background-color: #C50208;
|
||||
}
|
||||
|
||||
|
||||
|
@ -89,7 +89,7 @@
|
|||
|
||||
.footer p {
|
||||
font-size: 13px;
|
||||
font-weight: normal;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* SOLUTION */
|
||||
|
@ -130,8 +130,9 @@
|
|||
gap: 50px;
|
||||
}
|
||||
|
||||
.side-content, .photo {
|
||||
display: grid;
|
||||
.side-content,
|
||||
.photo {
|
||||
display: grid;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
@ -157,4 +158,4 @@
|
|||
|
||||
.footer {
|
||||
grid-column: 1 / 3;
|
||||
}
|
||||
}
|
|
@ -25,7 +25,7 @@
|
|||
}
|
||||
|
||||
.sidebar {
|
||||
background-color: #FF7755;
|
||||
background-color: #C50208;
|
||||
}
|
||||
|
||||
.sidebar .photo {
|
||||
|
@ -45,7 +45,7 @@
|
|||
}
|
||||
|
||||
.nav {
|
||||
background-color: #FF7755;
|
||||
background-color: #C50208;
|
||||
}
|
||||
|
||||
.nav ul li {
|
||||
|
@ -87,5 +87,5 @@
|
|||
|
||||
.footer p {
|
||||
font-size: 13px;
|
||||
font-weight: normal;
|
||||
}
|
||||
font-weight: normal;
|
||||
}
|
Loading…
Reference in New Issue