Simple Bootstrap page is not responsive on the iPhone

后端 未结 4 1177
一生所求
一生所求 2020-12-02 08:10

I downloaded Twitter Bootstrap example and create a simple rails project with it. I copied the css where needed and it displays fine. I also copied the js and everything wor

4条回答
  •  Happy的楠姐
    2020-12-02 08:42

    The code proposed by frntk doesn't work when you turn the device in landscape view, and the solution given by virtualeyes is incorrect because it uses semicolon instead of commas. Here is the correct code :

    
    

    Source: https://developer.mozilla.org/en/Mobile/Viewport_meta_tag

提交回复
热议问题