8

How to hide a text or value from a html inputfield without set to hidden control. I want to the textbox keep on visible but the text/value is hide. Is possible?

Thank You

MFBM
  • 145
  • 1
  • 1
  • 7

1 Answers1

13

Try this solution

you can set text color to transparent

 input {
    color: transparent;
}
Srikanth Reddy
  • 345
  • 2
  • 4
  • This should be added for when it's selected and highlighted by user `input::selection { background: transparent; }` `input::-moz-selection { background: transparent; }` – zer00ne Jul 19 '16 at 03:27
  • or at last textbox background color and font-color ... make both same white color – Rush.2707 Jul 19 '16 at 03:48