I am learning front-end development by trying to clone
CodePudding user response:
It’s likely even a bug, like if your image or any element size is more than your body size or screen size then you might face that error so if you resize your image/SVG/tag/element then may not face that error, Since if you do overflow: hidden; rather than overflow-x: hidden; – it stops it. It’s just more common and practical to use overflow-x.
*{
overflow-x: hidden;
}
If you are again facing this error after applying the solution then you can add some javaScript. for javascript, you can comment below my answer--->
Hope You got it!