Taking in a person's browser zoom into account

On my laptop i use 125% browser zoom because it looks better based on my laptop screen/aspect ratio idk but my friend uses 100% just fine and i realize his 100% and my 100% are different. so we are working on a project together and his changes look good for him but when i load them on my 125% zoom it looks a little wack. is there a way to fix this sort of thing? or should you only use 100% of your browser zoom when making a page. also originally i found that using percentages for widths for example break when you try to change browser zoom as well
10 Replies
vince
vince13mo ago
If 100% to 125% breaks your layout, you're probably doing something wrong. Are you using %/vw or fixed widths/heights?
TrickShottasUnited
TrickShottasUnitedOP13mo ago
i dont use vw either percentages or fixed px for max width
TrickShottasUnited
TrickShottasUnitedOP13mo ago
this is how it looks at normal 100% browser zoom, which i dont use but it looks perfect, but when i go to my normal 125% its to big
No description
TrickShottasUnited
TrickShottasUnitedOP13mo ago
No description
TrickShottasUnited
TrickShottasUnitedOP13mo ago
this what the css controlling the width
No description
vince
vince13mo ago
hm, do you have a public site i can look at please?
Pi, a future fluent jp speaker
What are you using for your font-size
TrickShottasUnited
TrickShottasUnitedOP13mo ago
px, but i tried em and rem no sry its dynamic
Pi, a future fluent jp speaker
Can't you share us your whole css code?
Jochem
Jochem13mo ago
I appreciate it's hard to share some code, but you can just copy/paste the rendered out DOM from the devtools. Right now you're showing up at a garage and trying to get the mechanic to diagnose your car's weird electrical issue by showing him blurry photographs
Want results from more Discord servers?
Add your server