Is there a way to enlarge the font size of an HTML password input without changing the placeholder text as well? Specifically, I am looking to increase the size of the password symbols (bullets).
I attempted to adjust the font-size
property of input[type="password"]
. While this successfully increased the size of the symbols, it also affected the placeholder text.
Is there a workaround to prevent the placeholder text from being impacted by the font size change? I am aware that placeholders can be targeted using ::-webkit-input-placeholder
or :-moz-placeholder
, but applying these globally goes against the intention of my query.
Feel free to provide solutions using HTML, CSS, JavaScript, or jQuery.