3 ms·
Yes, in -webkit- browsers you can achieve the same effect with this CSS: &::-webkit-input-placeholder { -webkit-transition: text-indent 200
by Keithamus 14y ago
Yes, in -webkit- browsers you can achieve the same effect with this CSS:
&::-webkit-input-placeholder {
-webkit-transition: text-indent 200ms ease-in-out;
visibility: visible !important;
}
&:focus::-webkit-input-placeholder {
text-indent: 115px; /* Change to width of input */
}
If only you could do the same for Firefox...
- btucker 14y agohttps://developer.mozilla.org/en/CSS/:-moz-placeholder https://developer.mozilla.org/en/CSS/:-moz-placeholder