6 ms·
This solves two problems: 1. Your float label animation can now sync with whatever form focus style changes would occur, so it just becomes a natural extension
by lstamour 13y ago
This solves two problems: 1. Your float label animation can now sync with whatever form focus style changes would occur, so it just becomes a natural extension of selecting the field. 2. It fixes the "Can't use Label and Placeholder" by letting a new placeholder animate in when the old placeholder floats out. :) This could easily be accessible and in fact, if done on focus could almost entirely be done with CSS. I've got to try this one for myself now.