@AdrianoEscarabote
Posted
Hi Oluwasemilore Badejo, how’s everything? I think your project turned out great! However, I have some feedback that I think might be useful:
I noticed that in resolutions your component is growing a lot, to solve this we can do the following:
.container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 320px;
border-radius: 20px;
background-color: hsl(0, 0%, 100%);
box-shadow: 8px 8px;
border: 1px solid hsl(0, 0%, 7%);
}
Instead of using "width" to specify an absolute width, use "max-width" to specify a maximum instead. By doing this, the content will behave much more amiably in smaller resolutions, making it easier to make the project responsive.
The rest is amazing.
I hope this is helpful. 👍