How to create textbox with fixed label in Material Design Lite?
问题 When I was reading the documentation in Material Design Lite's official page, no class name is mentioned for the fixed label with a textbox. In case of textarea they have a solution. But same code like the following one is creating only placeholder instead of a label for input type = "text" . <div class="mdl-textfield mdl-js-textfield"> <input class="mdl-textfield__input" type="text" id="sample5"> <label class="mdl-textfield__label" for="sample5">Text lines...</label> </div> 回答1: I haven't