<div class="form-group"> <label class="col-sm-2 control-label">选择文件</label> <div class="col-sm-5"> <label class="btn-bs-file btn btn-info"> 号码 <input type="file" name="tel_list"/> </label> </div> </div>
<style> .btn-bs-file{ position:relative; } .btn-bs-file input[type="file"]{ position: absolute; top: -9999999; filter: alpha(opacity=0); opacity: 0; width:0; height:0; outline: none; cursor: inherit; } </style>