ここでは、ソリューションごとにカスタムの選択/ドロップダウンメニューを使用しています:https://stackoverflow.com/a/10190884/1318135純粋なCSSメニュー/ドロップダウン:カスタム右矢印を作る方法を選択しますか?
右の「矢印」がよく見えない点を除いて、この機能は素晴らしいです。私はそれがこのサイトの上/下の投票矢印(外観は左のような)に似ています。広いとHTMLに画像を-Integrating
(それはフォアグラウンドVに表示させることができなかっドロップダウン。)
-Locationフォント:
(代わりにデフォルト下向き矢印を表示)
http://jsfiddle.net/XxkSC/553/
HTMLのための矢印0
<label class="custom-select">
<select>
<option>Sushi</option>
<option>Blue cheese with crackers</option>
<option>Steak</option>
<option>Other</option>
</select>
</label>
CSS:
label.custom-select {
position: relative;
display: inline-block;
}
.custom-select select {
display: inline-block;
padding: 4px 3px 3px 5px;
margin: 0;
font: inherit;
outline:none; /* remove focus ring from Webkit */
line-height: 1.2;
background: #000;
color:white;
border:0;
}
/* Select arrow styling */
.custom-select:after {
content: "▼"; /* Current arrow I would like to change */
position: absolute;
top: 0;
right: 0;
bottom: 0;
font-size: 60%;
line-height: 30px;
padding: 0 7px;
background: #000;
color: white;
}
.no-pointer-events .custom-select:after {
content: none;
}
上でそれの終わりに巨大な文字列は何ですか?!?! – user1318135
base64の画像(あなたの画像へのパスかもしれませんが、それはフィドルなので、別のファイルではなくその文字列を使用しました) –
私はユニコーンですか? – Knu