Input label over text issue
So I find myself achieving the effect I want, as you can see with the password input, but when you write something in the email input that's not valid the label goes down to its original position, hiding the text.
I've tried using :invalid pseudo element but it makes the label stay up if there's no text.
I've tried using :invalid pseudo element but it makes the label stay up if there's no text.

