How to insert glyphicon icon in the input input box in bootstrap3? The insert icon looks more eye-catching and meets the user experience values. This function is used on major websites.
How to place the icon at the beginning of the input box? ?
<div><label for="username">Username</label><div><span></span><input type="text" id="username" name="username" placeholder="username" autofocus></div></div><div><label for="password">Password</label><div><i></i><span></span><input type="password" id="password" name="password" placeholder="password"></div></div>
-----Solution ideas---------------------------
Just change the style. It is made with absolute positioning. It is done with a lot of left. Then change the padding-left of the input box.
-----Solution ideas---------------------------
Change the style
form-control-feedback{right:0 //Renamed left:0}The above content is the method of inserting the glyphicon icon in the Bootstrap3 input input box introduced to you. I hope it will be helpful to you. If you want to know more, please pay attention to the Wulin.com website!