form-control给input添加这个class类后就会使用bootstrap自带的input框

<input type="text" class="form-control" id="name"
placeholder="请输入名称">

原文地址:https://www.cnblogs.com/zouyun/p/7763462.html