I have a textbox with a linear gradient as background but the text color is not appearing 100% white.
Some kind of opacity is working behind the text but I have not declared opacity anywhere.
CSS code:
input[type="search"] {
color: #ffffff;
height: 35px;
margin: 0;
padding: 10px;
border: none;
box-shadow: none;
background: rgba(0, 0, 0, 0) linear-gradient(0deg, #820462 0%, #992478 100%);
font-size:1rem;
}
input[type="search"]:focus {
background: transparent;
}
Here is the demo.
Any help is highly appreciated. Thanks in advance.