I downloaded the Twitter Bootstrap example and created a simple rails project with it. I copied css where necessary, and it displays everything. I also copied js and everything works fine on my desktop: it reorganizes the page when I resize my browser. When using some โflexible design testing toolsโ with different sizes, it works great.
I have a problem on my iPhone: it displays juste like on my desktop.
When I try to execute the Bootstrap Hero sample page (with which I started), it works fine on my iPhone.
What could go wrong? I almost did not touch any CSS, I just added the registration on the footer.
FYI, the CSS I changed is that I bind my application to application.css with the following contents:
@import url(bootstrap.css); @import url(bootstrap-responsive.css); body { padding-top: 60px; padding-bottom: 40px; } footer { padding: 20px 0; }
twitter-bootstrap responsive-design
RaySF Feb 21 '12 at 22:37 2012-02-21 22:37
source share