Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

@media min/max working on desktop resize, but not on mobile

Hello, so I've got this website setup for testing:
http://sneaky-mother.surge.sh/ (subdomain name was random)


If you look through my messy code (quickly compiled all files into an index.html) you'll see some media blocks. If screen height is < 740px, the nav bar is supposed to disappear, and a hamburger appear. It works on desktop, resizing the window. However on mobile, nothing happens. Can someone help me with this?
Add this meta tag and it should work.

Code
<meta name="viewport" content="width=device-width"/>
Skype: ryand.8

[Image: XbaG5gl.gif]

(Nov 19, 2017 04:56 PM)ryan⚜ Wrote:  Add this meta tag and it should work.

Code
<meta name="viewport" content="width=device-width"/>

Thanks, works.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by guardianJan 4, 2021 09:12 AM 21 380 Jan 4, 2021 09:12 AM
Last Post: guardian
by #TDRJul 13, 2018 09:47 AM 3 190 Jul 13, 2018 09:47 AM
Last Post: Harryshotta
by ExemplificationDec 31, 2013 01:08 PM 6 108 Dec 31, 2013 01:08 PM
Last Post: Exemplification