ng datepicker css 自定义并将所选日期从正方形更改为圆形
ng datepicker css customization and change the selected date from sqaure to circle
我想从此自定义日历[在此处输入图片描述][1]
对此[在此处输入图片描述][2]
谁能帮帮我。因为我无法理解如何将 selected 日单元格从正方形更改为圆形,并且 select 以相同的方式更改范围。
[1]: https://i.stack.imgur.com/JRprR.png
[2]: https://i.stack.imgur.com/mnQ9P.png
ngbCalender 在浏览器中加载页面时在页面中加载内部样式。如果您检查并在 Element
选项卡中搜索 .customer-day
class 并附加 border-radius : 50%
... 请参见下图,对于范围背景,将有 class .range
根据你想要的颜色和背景形状改变它。
我想从此自定义日历[在此处输入图片描述][1] 对此[在此处输入图片描述][2]
谁能帮帮我。因为我无法理解如何将 selected 日单元格从正方形更改为圆形,并且 select 以相同的方式更改范围。 [1]: https://i.stack.imgur.com/JRprR.png [2]: https://i.stack.imgur.com/mnQ9P.png
ngbCalender 在浏览器中加载页面时在页面中加载内部样式。如果您检查并在 Element
选项卡中搜索 .customer-day
class 并附加 border-radius : 50%
... 请参见下图,对于范围背景,将有 class .range
根据你想要的颜色和背景形状改变它。