Reputation: 3
In my portfolio website for width less than 576px, there is a space that occurs on the right side of the page out of nowhere. It is not padding, margin, or anything else.
Please help me out. here is the link of the website: https://dhairyadutt.github.io/Portfolio/ inspect (576px->575px)
Upvotes: 0
Views: 71
Reputation: 573
Get rid of @media (max-width: 768px) .container {padding: 3rem 0;}
and check.
Upvotes: 0
Reputation: 103
you should try to add
*{
margin : 0px;
}
to the CSS. This should remove the base margin to the root of the webpage
Edit: Could not reproduce error
Upvotes: 1
Reputation: 586
It occurs due to content overflow the container, Try doing this:
body{overflow: hidden;}
Upvotes: 0