我已经设法运行Twitter Typeahead
但有一点是错误的,有一个白色的盒子可以保持一个透明的状态
这是我的代码
<input type="text" class="typeahead form-control input-lg" placeholder="Renovation, Plumming, Welder, Carpent, Driver , Cleaner Etc...">
我遇到的错误
答案 0 :(得分:0)
HTML
<div class="form-group">
<input type="text" class="typeahead form-control input-lg" placeholder="Renovation, Plumming, Welder, Carpent, Driver , Cleaner Etc...">
</div>
CSS
div.form-group {
width: // discover this
height: // discover this
}
div.form-group input.form-control {
width: // discover this
height: // discover this
background-color: inherit;
}