Sunday, 15 March 2015

Twitter Bootstrap's responsive CSS works on resized window, but not on mobile -



Twitter Bootstrap's responsive CSS works on resized window, but not on mobile -

i've used twitter bootstrap framework build newest site. used boostrap.responsive.css create work on mobile devices. doesn't. seems doesn't see css @ all. when ran on android phone, displaying site pc. when resize browser window on pc, works great. can problem? haven't messed bootstrap's css.

when ran alert($(window).width());, returned 980.

make sure include meta viewport element instructed in bootstrap's responsive docs layout scale device width.

<meta name="viewport" content="width=device-width, initial-scale=1.0">

twitter-bootstrap

No comments:

Post a Comment