问题
Possible Duplicate:
Kendo ui picker css issue
I want to change the background colour of the selected state in kendo ui date picker. I have written the code like
k.datepicker .k-state-selected
{
background-color: blue;
}
but the colour is not changing. How can i do that
Regards,
sri
回答1:
Use:
.k-calendar .k-state-selected { background: blue; }
instead
回答2:
Can you use jQuery? It's easy to handle the focus event:
$("#datePicker").focus(function(){$("#datePicker").css("background-color", "blue");})
来源:https://stackoverflow.com/questions/13558416/how-change-the-background-colour-of-the-kendo-ui-datepicker-using-css