data/tip
티스토리 투명 검색창 태그
2015. 9. 21.




* HTML


<s_search>

<form class="searchform cf">

<input required type="text" name="[##_search_name_##]" value="[##_search_text_##]" onkeypress="if (event.keyCode == 13) { [##_search_onclick_submit_##] }" />

</form>

</s_search>



* CSS


/* 검색창 */

.searchform{width:110px;height:35px;}

.searchform input {width:90px;height:25px;border:0px;background:#fff;}

.searchform input:focus {outline:0;background:#fff;}