Miva Merchant Modules and Development
Want to start an online store? We work with you from start to finish, from commerce platform to design to SEO.
Experience counts, and we have a lot.

CSS: Clear Placeholder on Click

Scot Ranney • December 22, 2023


<style>
	input:focus::-webkit-input-placeholder { color:transparent; }
	input:focus:-moz-placeholder { color:transparent; } /* Firefox 18- */
	input:focus::-moz-placeholder { color:transparent; } /* Firefox 19+ */
	input:focus:-ms-input-placeholder { color:transparent; } /* oldIE ;) */
</style>

https://www.scotsscripts.com/mvblog/css-clear-placeholder-on-click.html

mvkb_css