Making it responsive was slight difficult
Peter Paul
@heyitspieterAll comments
- @mariajiwuakuSubmitted over 1 year ago@heyitspieterPosted over 1 year ago
Hi Maria!
Congratulations on completing your first project. Just a couple of things to note that could be of help to you.
-
When creating responsive layouts, by all means you should try to avoid using px units, reason is
px
are absolute units and they constrain/lock your overall design rather than allowing your website/design to auto adapt depending on your user's preference. You can read more on this here and here -
Secondly, I am probably sure you have heard of flexbox and css grid. Even if you haven't yet, my point is layouts like this are best created with grid, reason is because flexbox uses what is called intrinsic sizing on its elements whereas with grid each element takes up equal space regardless of it's size. You also get the advantage of auto responsive layouts with things like
auto-fit
,minmax
&auto-fill
. More on this here
Marked as helpful0 -