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 • February 22, 2024


<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-1.html

mvkb_css