次の背景を持つ入力ボックスを作成する必要があります
これまでのところ、私のコードには以下のコードがあり、表示されていません->これを行う正しい手順は何ですか?
また、このボタンのバリエーションをいくつか作成する必要があり、それらは次のとおりです。
ボタンの暗い領域の十字 -
<span>
クラスを持つタグを使用し、グラフィックをそれに設定するつもりでした -> これは良い方法でしょうか?左のカーブのすぐ後ろにあるペーパー クリップのアイコン -> 上と同じようにするつもりだった -> これでよいでしょうか。
HTML:
<div class="innerTo">
<form action="#" method="get">
<label for="recipients">TO: </label>
<input type="search" name="recipients" id="recipients" placeholder="Recipients Names">
</form>
</div>
CSS:
.innerBar .innerTo{
width:200px;
padding:5px 0 0 15px;
display:block;
float:left;
}
.innerBar .innerTo label{
margin:0 15px 0 0;
font-size:14px;
font-weight:bold;
color:#666666;
}
.innerBar .innerTo input[type=search] {
color: red;
}
.innerBar .recipients{
background-image:url('../images/searchBGpng.png') no-repeat;
width:192px;
height:27px;
}