html - Aligning buttons and input form in mobile screen size - Bootstrap -


i have text input , 3 buttons:

<div class = "container"     <input type="text" class = "form-control" placeholder="input here">     <button type="button"  class="btn btn-default">button 1</button>     <button type="button"  class="btn btn-default">button 2</button>     <button type="button"  class="btn btn-default">button 3</button> </div> 

i know use form-inline not work smaller screen sizes. mobile screen size, how align buttons , input form on 1 line?

it doesn't use bootstrap, can add

display: flex 

to container div.

https://jsfiddle.net/cb95vs5p/


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -