@AdrianoEscarabote
Posted
Hi Dario Rodrigues, how are you? I really liked the result of your project, but I have some tips that I think you will enjoy:
I noticed that you used a button
in which case the best option would be an a
, because in my head when a person clicks on a button written Read more, he is not confirming a form, or something like, it will be redirected to another page, to read more about!
To resolve do this:
<a class="px-16 font-bold tracking-widest py-3 md:py-4 uppercase bg-soft-red transition-all hover:bg-very-dark-blue text-white">Read more</a>
If we see how the layout is behaving at higher resolutions, with the help of google dev tools, we will see that it is stretching a lot, to solve this we can use a max-width with the value we want the content to stop growing and to center use a margin: 0 auto;
body {
max-width: 1440px;
margin: 0 auto;
}
The rest is great!
I hope it helps... 👍
Marked as helpful
@Unidade
Posted
@AdrianoEscarabote Hi Adriano, thanks for the feedback. I agree about the button tag, I forgot to use a <a> tag, every time I'm styling something clickable by the user, I automatically use the button tag without thinking about it 😅. Thanks for the solution of the stretching at the big resolutions, really helpful.