V
V
Vladimir Zharinov2017-01-06 09:54:49
Bootstrap
Vladimir Zharinov, 2017-01-06 09:54:49

How to make an input field with a button on bootstrap?

I know how to make an input field with an additional icon

<div class="input-group margin-bottom-sm">
  <span class="input-group-addon"><i class="fa fa-envelope-o fa-fw"></i></span>
  <input class="form-control" type="text" placeholder="Email address">
</div>

But how to make this icon a button?
UPDATE:
I asked myself - I answer myself. More or less like this:
<div class="input-group">
        <span class="input-group-btn">
          <button class="btn btn-default" type="button">Вперед!</button>
        </span>
        <input type="text" class="form-control">
</div>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question