@Galielo-App
Posted
Hello Melvin.
Awesome build, here the answers to your questions:
- It's better if you use
max-height: 100%
. Theinherit
keyword specifies that a property should inherit its value from its parent element. If the parent element had a different value, your code would look totally different. - Yes you could. Inside
class="avatar"
create anotherdiv
an put inside theh2
and theimg
. This should work perfectly. - You did a very good job, your code is nice and clean. I would just suggest using BEM for naming your classes. This article will help you to get started.
Happy coding and please upvote my comment :)
@MelvinMelonGit
Posted
Hi @Galielo-App,
Thanks for your detailed reply and link to the article! I will try that out in my next challenge. :)