英文:
Remove background from selected dates | flatpickr.js
问题
如何将 inRange
部分的背景去除?
.flatpickr-day.startRange, .flatpickr-day.endRange {
background: #353535;
border: 1px solid #D2D2D2;
border-radius: 8px;
}
.flatpickr-day.inRange {
background: #353535; /* 你想要移除的背景 */
border: none;
border-radius: 8px;
}
英文:
How can I remove this background from inRange items?
.flatpickr-day.startRange,.flatpickr-day.endRange {
background: #353535;
border: 1px solid #D2D2D2;
border-radius: 8px;
}
.flatpickr-day.inRange {
background: #353535;
border: none;
border-radius: 8px;
}
答案1
得分: 0
.flatpickr-day.inRange {
background: #353535;
border: none;
border-radius: 8px;
-webkit-box-shadow: none;
box-shadow: none;
}
英文:
Solution:
.flatpickr-day.inRange {
background: #353535;
border: none;
border-radius: 8px;
-webkit-box-shadow: none;
box-shadow: none;
}
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论