[问题] 输入方块里面的文字样式

楼主: qazsd ( )   2017-06-22 14:28:06
<input type="text" id="search" size="12" value="Nice to meet you" />
#searchfile {
padding: 5px;
border-width: 2px;
border-color: #cccccc;
border-style: solid;
border-radius: 8px;
font-size: 16px;
background: rgba(255, 255, 255, 1) url('images/search_icon.png')
no-repeat;
}
上面如此图:http://imgur.com/a/8U2ja
想请问要如何:
1. 改变输入方块里面的文字样式,例如淡化(opacity=0.7)、文字颜色改为红色
2. 将输入框方块里面的放大镜(search_icon.png)靠右对齐至在输入区域的右边
作者: ilovekebi   2017-06-22 17:00:00
作者: kentyeh (kent)   2017-06-22 17:07:00
楼主: qazsd ( )   2017-06-23 16:36:00
感谢各位大大

Links booklink

Contact Us: admin [ a t ] ucptt.com