How change the background colour of the kendo ui datepicker using css [duplicate]

白昼怎懂夜的黑 提交于 2019-12-08 01:20:15

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!