初めて、coda スライダーを使用して jquery スライダーを作成しました。
しかし、メニューをカスタマイズしたいのですが、カーソルを合わせたときにli aの上に表示される小さな矢印が必要です。
どうすればいいですか?画像を使うべきですか?または、css3 を使用して効果を達成できますか?
<ul class="navigation">
<li><a href="#sites">Sites</a></li>
<li><a href="#files">Files</a></li>
<li><a href="#editor">Editor</a></li>
<style>
.navigation {
padding:0px;
margin-bottom:90px;
}
ul.navigation li {
list-style-type:none;
}
ul.navigation li a {
text-decoration:none;
float:left;
width:254px;
height:50px;
display:block;
background-color:#ccc;
text-align:center;
line-height:40px;
}
ul.navigation li a:hover {
background-color:#666;
/*there should be some sort of background image here or css3? */
}
.active {
/*there should be some sort of background image here or css3? */
}
<style>