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,6 +77,7 @@ a {
|
||||||
.card {
|
.card {
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
margin: 16px;
|
margin: 16px;
|
||||||
|
width: 300px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
|
|
Loading…
Reference in a new issue