【发布时间】:2018-05-10 08:17:24
【问题描述】:
我想改变以下搜索栏的样式:
<code><div class="searchbase input-group animated trans" id="searchbase">
<input type="text" placeholder="<?php _e(_l('Searching...'));?>" class="form-control" id="squery" value="<?php _e($querysearch);?>" data-type="<?php _e(vars('g','type')->v);?>" data-bind="<?php _e(vars('g','bind')->v);?>">
<span class="input-group-btn">
<button class="btn btn-warning searchbutton" type="button" onclick="runsearch()"><?php _e(_l('Search'));?></button>
</span>
</div></code>
到这个:
http://cssdeck.com/labs/0chmqae2
但在输入要查找的内容时无法弄清楚如何使其可搜索。我不认为它像简单地改变 css 一样简单吗?
【问题讨论】:
-
当您链接到的示例实际使用 CSS 来实现该效果时,您为什么会这么认为?
-
不确定你在问什么。是样式问题还是功能问题?