I have Datepicker on my web page, it implements by jQuery UI Datepicker. I am trying this these code to display Datepicker:
<script> $( function() { $( "#datepicker" ).datepicker(); } ); </script>
Datepicker displays good but I want to put some different color in my date picker. How can I change Datepicker color using CSS?
Apply these stylesheets code for change Datepicker color.
<style type="text/css"> .ui-datepicker { background: #999; } .ui-datepicker-month{ background: #999; } .ui-datepicker-year{ background: #999; } </style>
Choose your color and paste it here.
The jQuery UI Datepicker is a highly configurable plugin that adds Datepicker functionality to your pages.
If you want to create Datepicker in your application using jQuery UI then click here: Create jQuery UI Datepicker
Question and answer is powered by AnsPress.io