我似乎无法找到解决方案来突出显示我的代码中的当前日期。下面是我的calendar.php的css代码
/* Highlight the "current" day */
.dates li .active {
padding: 5px;
background: #1abc9c;
color: white !important
}
答案 0 :(得分:0)
您没有提供大量信息,但如果活动类位于您的li元素上,则css选择器应为:
.dates li.active
答案 1 :(得分:0)
export class Power {
constructor(private title: string) { }
}