I have a label like "First Name *". When Float-labels copies this as the placeholder for an associated input, it removes the asterisk. I'm not sure why this is happening, but I feel like the JS ...
(Demo) How did they do it: Floating Label. In this repository, you'll discover how libraries like Bootstrap and others create the popular floating label effect — commonly seen in mobile apps.