When customizing the appearance of an HTML element such as paper-input
and disabled
, a dotted underline style is automatically applied.
https://i.sstatic.net/utwHg.png
To modify the disabled styles, you can do the following:
paper-input {
--paper-input-container-disabled: {
color: black;
opacity: 1;
text-decoration: none;
};
}
However, simply setting the text-decoration
property does not eliminate this style.
Is there a way to hide this disabled
underline style using CSS?