[solved] Device Scaling

Does anyone know how to target laptop viewports that scale up their resolution? I have a client using an Acer with 1920 x 1080 and in their settings "Scale" is set to 150%.
I'm not really sure how to write styles that check a users scale in a way that it is able to know if its 125%, 170% etc etc. All hints/tips appreciated.
5 Replies
ἔρως
ἔρως3mo ago
pixel scale probably may help, but it's better to just write stuff that's properly responsive and you won't need to scare about the scale
Sandbag
Sandbag3mo ago
that would be nice, but unfortunately their site is in Squarespace.
When you say pixel scale, what are you referring to? ie: how do I use this?
ἔρως
ἔρως3mo ago
sorry, i was half-asleep by then https://developer.mozilla.org/en-US/docs/Web/CSS/@media/resolution <-- i was talking about this
Sandbag
Sandbag3mo ago
ty so much! as soon as I had the word resolution google opened up its sweet arms. You're the best.
ἔρως
ἔρως3mo ago
you're welcome dont forget to add the "solved" tag
Want results from more Discord servers?
Add your server