2

I'm curious if I can style the pop-up menu which appears in native browser implementations of <input type="date" />, specifically the calendar grid's text colors and background:

enter image description here

From another SO post I see that the input box can be styled via the Shadow DOM and wanted to know if something similar existed for the pop-up part of the UI, specifically for the iOS Safari browser.

Quinn McHugh
  • 1,577
  • 2
  • 17
  • 23
  • Dont use native html for this. You can use jquery's date picker too. Search for it and u will get how to do it. –  Aug 10 '21 at 04:28
  • Thanks, Archit. I'm hoping not to use an external library. I'm mostly curious about the limitations/possibility of doing this natively. – Quinn McHugh Aug 10 '21 at 04:31
  • 1
    HTML elements such as the date picker and file upload inputs are part of the browser and not the code. That's why we cant access them in our code to style –  Aug 10 '21 at 04:50
  • And Anyway i dont see any reason to style it as it is already beautiful. –  Aug 10 '21 at 05:09

0 Answers0