grid-03: style, solution, desired-outcome

This commit is contained in:
Christina M 2023-06-10 12:31:10 -05:00
parent ef87c10dd5
commit 3c9fe0e270
5 changed files with 11 additions and 10 deletions

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

View File

@ -26,7 +26,7 @@
} }
.sidebar { .sidebar {
background-color: #FF7755; background-color: #C50208;
} }
.sidebar .photo { .sidebar .photo {
@ -46,7 +46,7 @@
} }
.nav { .nav {
background-color: #FF7755; background-color: #C50208;
} }
@ -130,7 +130,8 @@
gap: 50px; gap: 50px;
} }
.side-content, .photo { .side-content,
.photo {
display: grid; display: grid;
align-items: center; align-items: center;
} }

View File

@ -25,7 +25,7 @@
} }
.sidebar { .sidebar {
background-color: #FF7755; background-color: #C50208;
} }
.sidebar .photo { .sidebar .photo {
@ -45,7 +45,7 @@
} }
.nav { .nav {
background-color: #FF7755; background-color: #C50208;
} }
.nav ul li { .nav ul li {