JSFiddle - React, Tailwind, and code Playground

HTML

<input type="date" />

CSS

input::-webkit-datetime-edit {
    background-color: red;
}

JavaScript

console.log(document.getElementsByTagName('input'));