@vanzasetia
Posted
Hi, @nasershareef! 👋
First, the URL for the repository is https://github.com/. It should be the URL of the repository of the project. So, update the URL with the correct one.
Now, for the responsiveness of the site, I recommend making the following changes to improve it.
- Remove
height: 100vh
from the<body>
. Instead, setmin-height: 100vh
to it. This way, it allows to grow if the content needs more height. - Remove
width
andheight
from the<main>
. Instead, setmax-width
to prevent it from becoming very large on wide screen sizes. For the height of it, let the elements inside it control the height of it. - Remove
height
from the.card-grid
. The reason is the same as setting the height to the<main>
. - Use
rem
unit forpadding
. Using percentage units can lead to unexpected results on tiny or wide screen sizes. - In general, you want to avoid setting
width
andheight
to any elements. Those properties can make the elements become not responsive.
I hope you find this useful.
Marked as helpful
@vanzasetia
Posted
@nasershareef
Learn more about responsive design — Responsive design ground rules | Polypane, The browser for ambitious developers