/** * BootstrapValidator (http://bootstrapvalidator.com) * The best jQuery plugin to validate form fields. Designed to use with Bootstrap 3 * * @author http://twitter.com/nghuuphuoc * @copyright (c) 2013 - 2014 Nguyen Huu Phuoc * @license MIT */ .bv-form .help-block { margin-bottom: 0; color: red; position: absolute; right: 20px; z-index: 10; /*1、在文本框上面出现提示信息*/ /* padding:5px 20px 15px 20px; border-radius:5px; color:#fff; background:url('arrowbg.png') no-repeat left top; background-size:100% 100%; top: -42px;*/ /*1、在文本框内右上角提示信息*/ top: 2px; } .bv-form .tooltip-inner { text-align: left; } .nav-tabs li.bv-tab-success > a { color: #3c763d; } .nav-tabs li.bv-tab-error > a { color: #a94442; } .bv-form .bv-icon-no-label { top: 0; } .bv-form .bv-icon-input-group { top: 0; z-index: 100; }