@raulgaliciab
Posted
This is a great solution!
The only issue that I noticed is that the desktop measurements are maintained in the mobile version. Looking at the Figma designs you can see that the mobile version is slightly narrow.
@coding-vasu
Posted
@raulgaliciab Thanks for the feedback.
I have handled the mobile version. Please check my GitHub code base. You can see that I have used the following CSS:
@media screen and (max-width: 28.5rem) {
/* styles for screens smaller than 28.5rem */
:root {
--base-font-size: 12px;
}
}
This code decreases the base font size from 16px to 12px. Since I am using rem for spacing and sizing, the whole website size adjusts for the mobile version. I request you to review the solution once.
I have also attached a gif
to showcase the changes in the repository.
Thank you