@Frame993
Posted
Im also new at this, but I checked the devtools and in the h2.artist-name there is a margin-bottom: 1rem; and a line-height: 3rem; . Try removing it
Marked as helpful
This is my first ever challenge. Layout is done using float (as that is what I know at the moment).
One thing I couldn't figure out was how to reduce the margin between the artist avatar/name and the bottom of the card.
Any feedback welcome. :)
@Frame993
Posted
Im also new at this, but I checked the devtools and in the h2.artist-name there is a margin-bottom: 1rem; and a line-height: 3rem; . Try removing it
Marked as helpful
@kaamiik
Posted
Great work. you can use negative margin also. and check if the problem is because of span
element or not. because the span
is an inline element.
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord