Reputation: 396
My portfolio site has a white gap on the right at smaller width say 425px and below (especially on mobile devices). The reason because HTML and body does not inherit full width. Why is this so? And how can I fix it?
Upvotes: 0
Views: 223
Reputation: 1233
White gap is because you have some elements with width that is not relative on mobile resolution. For example, these three p
tags has fixed width:
Just change its width to 100% on resolution below 768px.
NOTE I didn't check rest of your code, but I think this should solve your problem
Upvotes: 4