Dabu18!

dabu18.neocities.org

3,694 views
2 followers
2,697 updates
0 tips
Is a responsive website design (without using things like vh and vw) solely dependent on aspect ratio? I like a weird meaningless feature I gave my front page when I make the window as small as possible and can be revealed or hid vertically, but said feature leads to my page being a little less responsive if I were to view it on a mobile device as making the measurements responsive would prevent the pointless thing.
1 like
tabf5's avatar tabf5 2 weeks ago

No it can also be dependent on how wide the screen resolution is. I forget how or why it works but even a modern phone with a super crisp screen tells CSS that it's only like 480px wide or something. I think it has to do with some scaling factor changing on phones that's left alone at 1.0 on desktops. I use both this and aspect ratio and it's kind of a mess but it works. See at bottom here: https://tabf5.com/all.css

1 like
dabu18's avatar dabu18 2 weeks ago

Ah okay! I'll take a look, thank you :]

dabu18's avatar dabu18 2 weeks ago

Oo okay I see, also if I'm reading it correctly, does "@media only screen" mean it only changes the elements if the screen size itself and not the window is specifically in those ranges?

Website Stats

Last updated 5 days ago
CreatedFeb 21, 2026
Site Traffic Stats

Tags

art boxes w3schools