I've been attempting to modify the color of the placeholder in an inputbase. I came across several methods online and tried implementing them, but none have been successful. Below are the codes I have tried.
<InputBase
id="input-id"
placeholder="enter the search word"
className="input"
/>
This is my CSS:
.input::placeholder {
color: blue;
}