Using twitter-bootstrap, how do I decorate my input tag with an icon?
I’ve tried:
<p class="icon-search"><input type="submit" value="search" /></p>
and:
<p><input type="submit" value="search" class="icon-search" /></p>
But nothing seems to work. JSfiddle
You can’t use an
<input>for the icons, so you must be looking for that<button>code :Just scroll the doc a bit.
Updated fiddle (the demo is without the
.btnclass, you may want to try with it)