I have below code for input text
<lightning-input label="Email" class="textInput" value={rec.Name} onchange={handleNameChange}></lightning-input>
Here I want to change the color of the label. I have tried it like this. But not working.
.textInput {
color: black;
font-weight: bold;
}
When I see the inspect element it looks like:
How should I write the css?