Javascript 如何为引导年份日历设置自定义箭头

Javascript 如何为引导年份日历设置自定义箭头,javascript,twitter-bootstrap,Javascript,Twitter Bootstrap,如何更改标题中bootsrap year calendar的默认箭头(日期滑块在哪里),我想用svg设置自定义箭头,如何实现 $('.js-yearcalendar').calendar(); 在引导的默认css之后添加此css,该css将覆盖其默认css属性。 注意:根据需要在后台URL中更改SVG路径 希望这对您有所帮助。如果您在中使用引导日历 您可以使用纯CSS实现这一点 .calendar table.month td.day .day-content:hover { bac

如何更改标题中bootsrap year calendar的默认箭头(日期滑块在哪里),我想用svg设置自定义箭头,如何实现

$('.js-yearcalendar').calendar();
引导的默认css之后添加此css,该css将覆盖其默认css属性。

注意:根据需要在后台URL中更改SVG路径


希望这对您有所帮助。

如果您在中使用引导日历

您可以使用纯CSS实现这一点

.calendar table.month td.day .day-content:hover {
     background:rgba(0,0,0,.2); /* This is the transparent color showing up when hovering */
     cursor:move; /* This is set as hand by default */
}
.calendar table.month td.day .day-content:hover {
     background:rgba(0,0,0,.2); /* This is the transparent color showing up when hovering */
     cursor:move; /* This is set as hand by default */
}