4

I'm trying to do a responsive login form with bootstrap 3. But, when I test it in a mobile device, the page appers small, and have to zoom it. I want that appears with full width of the phone. What im doing wrong??

The page: The page

The code:

    <input type="text" placeholder="Login" />
    <input type="text" placeholder="Password" />
    <br />
    <button type="button" class="btn btn-primary btn-lg btn-block">Block level button</button>
</form>

1

1 Answer 1

6

Try adding this to your HTML HEAD..

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.