bootstrap input 前缀和后缀

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewpot" content="width=device-width,initial-scale=1.0">

    <title>learn bootstrap</title>

    <link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
	<link href="google-code-prettify/prettify.css" rel="stylesheet">
  </head>
  <body onload="prettyPrint()">
  <script src="jquery1.11.3/jquery-1.11.3.min.js"></script>
  <script src="bootstrap/js/bootstrap.js"></script>
  <script src="google-code-prettify/prettify.js"></script>

  <div class="container">
    
    <div class="input-group">
      <div class="input-group-addon">$</div>
      <input type="text" class="form-control" id="exampleInputAmount" placeholder="Amount">
      <div class="input-group-addon">.00</div>
    </div>
    
    
  </div>
  </body>
</html>
posted @ 2015-05-14 15:19  yufenghou  阅读(1789)  评论(0编辑  收藏  举报