<form role="form"> <div class="form-group has-warning has-feedback"> <label for="inputWarning1" class="control-label">警告</label> <input type="text" class="form-control" id="inputWarning1"/> <span class="glyphicon glyphicon-warning-sign form-control-feedback"></span> </div> </form>
2 回答
幕布斯7574896
TA贡献38条经验 获得超3个赞
你看下源码呗:
.has-feedback label~.form-control-feedback { top: 25px } .has-feedback { position: relative } .has-feedback .form-control { padding-right: 42.5px }
- 2 回答
- 0 关注
- 6431 浏览
添加回答
举报
0/150
提交
取消