float-label-css icon indicating copy to clipboard operation
float-label-css copied to clipboard

Don't works without placeholder

Open Klemart3D opened this issue 5 years ago • 0 comments

Float label works with placeholder="" but it don't works without placeholder attribute in an input element.

I found a workaround by styling an invisible placeholder if it is equal to # (like to disable href="#" links), by adding this code in input, select, textarea { } selector :

&[placeholder="#"]::placeholder {
    color:transparent;
}

Klemart3D avatar Dec 23 '20 10:12 Klemart3D