@ferlagher
Posted
Hi, nice work with your solution! I like the hover effect on the button! 👍🏻
You don't need to use <br/>
for the line break! In this case, the difference between desktop and mobile layout is due to the padding of the right/bottom container. It's a bit hard to notice, but it's slighty bigger in the desktop view, that makes the text wrap erlier than in the mobile view.
Also, I reccomend the <picture>
container for the img. You can specify many sources for your image and when they displayed or not, depending on the viewport. I personally find this way easier than using media queries. And you can give your <img>
a width:100%
and a height:auto
to keep the aspect ratio.
Marked as helpful