Dhairya Dutt
Dhairya Dutt

Reputation: 3

Space on the right of the page

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.

enter image description here

Please help me out. here is the link of the website: https://dhairyadutt.github.io/Portfolio/ inspect (576px->575px)

Upvotes: 0

Views: 71

Answers (3)

Charan Kumar
Charan Kumar

Reputation: 573

Get rid of @media (max-width: 768px) .container {padding: 3rem 0;} and check.

Upvotes: 0

BelMat
BelMat

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

Anonymous Coder
Anonymous Coder

Reputation: 586

It occurs due to content overflow the container, Try doing this:

body{overflow: hidden;}

Upvotes: 0

Related Questions