Ngl but bro makes actually good loops
I've been a web developer for 10 years and you just solved a huge mystery for me 😂😅 This explains a lot
it’s the other way around though. smartphone screens have a way higher pixel density (more pixels per inch) than a common desktop screen, so if the browser reported the real resolution, pages would try to render as if it was a desktop screen in portrait mode. The tag actually helps by making the browser scale the viewport width so that the developer can adapt the website for small screen sizes in the stylesheet.
I started learning coding like a week ago, besides having a full time job and working over hours on the weekend. This is the first video, about code I fully understood and it helped me to fully grasp what this meta tag means.
It's the otherwya around. 980 is real pixel width and the meta thing reports the device that it's allowed to scale based on device-width which is scaling logic that's part of the browser dom renderer and obviously then in this case safari on webkit running on an iphone would have a certain preset based on various system settings. Down to font scaling.
I didn't realize i was watching this for 5 times, it's sooo seamless
Thanks
Damn... I remember these days of webdev. Funny, every year, one small hack would no longer be necessary. Took years (mainly because IE/Trident/Edge refused to die), but slowly and surely we stopped needing all these lol. This video took me back!
Bro got majestic eyes coupled with just about the most useful information.
Man, i remember that switch from webpages that you had to zoom in into, to actuall mobile. I miss the old internet
final transition before looping was smooth af
I found this out by accident,some pages in my website appeared as desktop view in mobile, I just lived with it, until I decided to fix it, and after a week of debugging, and once I found out why I couldn't have gotten more surprised by the importance of the viewport tag.
More technically browser's try to get screen size in terms of CSS pixel width by dividing device DPR to device physical resolution.
At the time it was absolutely amazing to have the whole page there.
I never fell into any loops but it was actually good loop I really watched it 2 times without realising!!!
I'm impressed by how the video circles around, on purpose?
I always knew how, never why. Thanks for the tip
That’s brilliant Thankyou for the explanation and I’m sorry that it’s not at 69 comments anymore ❤
So this is what request Desktop option does in current day
@engine_man