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:
Skmyhrm 2021-10-04 00:00:50 +03:00 committed by GitHub
parent 6b8a836da5
commit b400688150
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;
}
}