Ciao,
Is it possible change the forecolor and font of the Watermark in textbox?
Thanks
Ciao Messere,
Yes both things are possible!
For the placeholder color you can change the “text-placeholder” color in the theme (see attachment).
For the font, you’ll need to add a little bit of CSS to your theme or project, you can either add it in the Stylesheet rules of the Theme or in your default.html document:
<style> input::-webkit-input-placeholder { font-family: 'Brush Script MT', cursive; } input:-ms-input-placeholder { font-family: 'Brush Script MT', cursive; } input:-moz-placeholder { font-family: 'Brush Script MT', cursive; } input::-moz-placeholder { font-family: 'Brush Script MT', cursive; } </style>
The different entries correspond to different compatibility for each browser.
These can also be achieved via a mixin to your project.
Please let me know if this isn’t clear or you have more questions!
Best regards,
Levie
Thank you very much! It works!
I attached the mixin file you can use if you need it!
Best,
Levie
Please login first to submit.