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
|
@ -25,7 +25,6 @@ body {
|
|||
border: 1px solid #eee;
|
||||
box-shadow: 2px 4px 16px rgba(0,0,0,.06);
|
||||
border-radius: 4px;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
/* SOLUTION */
|
||||
|
@ -78,10 +77,11 @@ a {
|
|||
.card {
|
||||
padding: 16px;
|
||||
margin: 16px;
|
||||
width: 300px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue