Float label

From Level Access Web Labs
Jump to: navigation, search

example

A Pen By: James Thomas Almond

.form-textbox:focus ~ .form-label,
.form-textbox:valid ~ .form-label {
top: -1.5em;
left: 0;
font-size: .8em;
...}

CSS transitions
Form label placeholders