bootstrap 4 inline form: how to increase input width and preserve the form as inline in xs views -


i searched lot this, , couldn't find answer

i use bootstrap 4 , have following code:

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css">  <form class="form-inline text-xs-center">    <div class="form-group">      <input type="text" class="form-control">    </div>    <button type="submit" class="btn btn-primary">go</button>  </form>

i have 2 problems @ diffirent resolutions.

(1) @ sm or larger resolutions, result follows:

click image

the input , button inline, proper padding between them, , centered. how can increase width of inline input, preserving padding , center alignment (of both controls together)?

(2) @ xs resoltion, result follows: (expand snippet, run it, , resize browser)

click fo image

i lost inline state of form, how can keep form inline @ resolution?

thanks in advance


Comments

Popular posts from this blog

php - How to display all orders for a single product showing the most recent first? Woocommerce -

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

angularjs - How restrict admin panel using in backend laravel and admin panel on angular? -