Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
現在、スライドショーを必要とするサイトで作業しており、bxSlider スクリプトを使用しています。現在の動作方法は、コードが と を見つけてspan id="next_1"をspan id="prev_1'挿入すること<a href=''>+</a>です。span要素が白いボックスで、ホバーすると黒くなるように設定しました。クリック可能な唯一の要素は、内の+spanです。<a>要素全体に合わせて要素のサイズを変更する方法を考えていspanます。
span id="next_1"
span id="prev_1'
<a href=''>+</a>
span
<a>
これが私のコードです。
<a>CSS では、タグを選択して、それらのプロパティをクラスに追加display: blockおよびpadding: 8px削除できます。.buttonお役に立てば幸いです。ありがとう。
display: block
padding: 8px
.button