Portfolio website ratio and zooming problems.
Hello, I'm trying to make the background of my portfolio. But I realized that the page only maintains the correct ratio at 75% zoom in the page.
On the other hand, when zooming the website less than 75%, it starts to scale to the top left corner instead of the top middle, which is what I want. I'm a beginner at HTML/CSS, so I may have chosen the wrong unit at the start and actually have no idea about the ratio properties. Here are the page.tsx and the global.css.
There are also other components, but I think they are not related to the problem here. There are still more problems with the pattern and navigation bar when scaling, but I think tackling it step by step is much easier.
The problem may have occurred due to this part of the css file:
Thank you for helping. I would really appreciate it!
0 Replies