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:
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)
i lost inline state of form, how can keep form inline @ resolution?
thanks in advance
Comments
Post a Comment