Bootstrap 3 Placing Icon inside input



demo link: http://jsfiddle.net/KyleMit/cyCFS/927/

Code here: 

<html><head>   
      <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>   
      <link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css">
      <link rel="stylesheet" type="text/css" href="http://getbootstrap.com/dist/css/bootstrap.css">
  <style type="text/css">
    body {
    margin: 15px;
}
  </style>
 <title>Bootstrap 3.0 Glyphicon Inside Input Box by KyleMit</title>
<script type="text/javascript">//<![CDATA[
$(window).load(function(){
});//]]>
</script>
</head>
<body>
  <div class="form-group has-feedback">
    <label class="control-label sr-only">DatePicker</label>
    <input class="form-control date-picker" type="text">
    <i class="fa fa-calendar form-control-feedback"></i>
</div>
<!-- Post Info -->
<div style="position:fixed;bottom:0;left:0;   
            background:lightgray;width:100%;">
    About this SO Question: <a href="http://stackoverflow.com/q/22913532/1366033">Placing Icon inside input</a><br>
    Fork This Skeleton Here <a href="http://jsfiddle.net/KyleMit/kcpma/">Bootrsap 3.0 Skeleton</a><br>
<div>
</div></div></body></html>

Comments

Popular posts from this blog

Script For Login, Logout and View Using PHP, MySQL and Bootstrap

Hyperledger Development with in 10 days — Day 6

Insert CheckBox and Radio button Data in MySQL Database Using PHP