■ はじめに
フローティングラベル(placeholder が動いてラベルになる)が興味あったので 色々と調べてみた
■ 独自実装
https://coliss.com/articles/build-websites/operation/css/css-only-floating-label.htmlを参考に実装。
サンプル
* 以下の関連記事を参照のこと。https://blogs.yahoo.co.jp/dk521123/36103698.html
■ プラグイン
Floating Form Labels
* jQuery プラグイン公式サイト
https://github.com/Baedda/floating-form-labels
https://codepen.io/jChris85/pen/jrZypv (デモ)