Misplaced width ellement added after solving
In the exercise Style.css, there was no width element added on the .card selector. it's only added in the solution, so I think the width element should be moved to under the solution line.
This commit is contained in:
parent
6b8a836da5
commit
b400688150
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,6 @@ body {
|
||||||
border: 1px solid #eee;
|
border: 1px solid #eee;
|
||||||
box-shadow: 2px 4px 16px rgba(0,0,0,.06);
|
box-shadow: 2px 4px 16px rgba(0,0,0,.06);
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
width: 300px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* SOLUTION */
|
/* SOLUTION */
|
||||||
|
@ -78,10 +77,11 @@ a {
|
||||||
.card {
|
.card {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
margin: 16px;
|
margin: 16px;
|
||||||
|
width: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue