UNPKG

material-design-lite

Version:

Material Design Components in CSS, JS and HTML

9 lines (7 loc) 288 B
<!-- Textfield with Floating Label --> <form action="#"> <div class="mdl-textfield mdl-js-textfield mdl-textfield--floating-label"> <input class="mdl-textfield__input" type="text" id="sample3"> <label class="mdl-textfield__label" for="sample3">Text...</label> </div> </form>