Skip to content

Don't works without placeholder #29

@Klemart3D

Description

@Klemart3D

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;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions