Open SelmaNdapanda opened 1 year ago
It will be easier when you try Inspecting the elements to identify and make changes to some attributed widths.
Hi @SelmaNdapanda 👋 Congrats on finishing your project, however, I'll include some notes I hope will be helpful for you.
Always try to avoid setting a fixed width for your component on the page, because everything is responsive by default, and the moment you set a fixed width you will lose that benefit. So I highly recommend starting to remove those fixed widths and also heights.
To control the height try to set the padding of the parent container instead until you get the desired look.
Avoid using Absolute unite such as px
and use relatives instead like em
, rem
, and %
, that relative unites are great help for your webpage to be responsive.
padding
and margin
I suggest using the em
unit.width
property use the %
instead of px
.I hope this will be helpful, and I'll provide other notes later.
Thank you Ahmed for the good suggestion, I will work on it
Hi @SelmaNdapanda 👋 Congrats on finishing your project, however, I'll include some notes I hope will be helpful for you.
Fix Width
Always try to avoid setting a fixed width for your component on the page, because everything is responsive by default, and the moment you set a fixed width you will lose that benefit. So I highly recommend starting to remove those fixed widths and also heights.
Body width
To control the height try to set the padding of the parent container instead until you get the desired look.
Components Heights
Absolute Unites VS Relative Unites
Avoid using Absolute unite such as
px
and use relatives instead likeem
,rem
, and%
, that relative unites are great help for your webpage to be responsive.
- for
padding
andmargin
I suggest using theem
unit.- for
width
property use the%
instead ofpx
.I hope this will be helpful, and I'll provide other notes later.
@adel-gu, This is going to be very much helpful indeed. Thanks a lot 🙌
_Originally posted by @jasonfelice in https://github.com/SelmaNdapanda/Selma-Hamutenya-Portfolio/pull/4#discussion_r955249236_