国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發(fā) > CSS > 正文

純CSS3實(shí)現(xiàn)漂亮的input輸入框動(dòng)畫樣式庫(Text input love)

2024-07-11 08:31:30
字體:
供稿:網(wǎng)友

分享一個(gè)用純 CSS3 實(shí)現(xiàn)的,漂亮的 input 輸入框動(dòng)畫樣式庫-Text input love。

點(diǎn)擊每個(gè)輸入框都用不同的動(dòng)畫效果,始終顯示標(biāo)簽label,并顯示 placeholder(占位符)文本。

演示地址:https://codepen.io/MichaelArestad/full/ohLIa

HTML 代碼:

<div class="row"> <p>Click every input.</p></div><div class="row"> <span> <input class="basic-slide" id="name" type="text" placeholder="Your best name" /><label for="name">Name</label> </span> <span> <input class="basic-slide" id="email" type="text" placeholder="Your favorite email" /><label for="email">Email</label> </span> <span> <input class="basic-slide" id="phone" type="text" placeholder="You can trust us" /><label for="phone">Phone</label> </span></div><div class="row"> <span> <input class="clean-slide" id="age" type="text" placeholder="Go for the high score!" /><label for="age">Age</label> </span> <span> <input class="clean-slide" id="height" type="text" placeholder="Heels count" /><label for="height">Height</label> </span> <span> <input class="clean-slide" id="weight" type="text" placeholder="Go ahead and lie" /><label for="weight">Weight</label> </span></div><div class="row"> <span> <input class="gate" id="class" type="text" placeholder="Wizard!" /><label for="class">Class</label> </span> <span> <input class="gate" id="element" type="text" placeholder="Five to choose from" /><label for="element">Element</label> </span> <span> <input class="gate" id="move" type="text" placeholder="Secret book attack!" /><label for="move">Move</label> </span></div><div class="row"> <span> <input class="skinny" id="english" type="text" placeholder="Do you speak it?" /><label for="english">English</label> </span> <span> <input class="skinny" id="burger" type="text" placeholder="A Royale with cheese?" /><label for="burger">Burger</label> </span> <span> <input class="skinny" id="wallet" type="text" placeholder="Bad Mother****er" /><label for="wallet">Wallet</label> </span></div><div class="row"> <span> <input class="slide-up" id="card" type="text" placeholder="Fund me!" /><label for="card">Credit Card</label> </span> <span> <input class="slide-up" id="expires" type="text" placeholder="Month Day, Year" /><label for="expires">Expires</label> </span> <span> <input class="slide-up" id="security" type="text" placeholder="Public" /><label for="security">Security Code</label> </span></div><div class="row"> <span> <input class="card-slide" id="knock" type="text" placeholder="Who's there?" /><label for="knock">Knock knock</label> </span> <span> <input class="card-slide" id="max" type="text" placeholder="Max who?" /><label for="max">Max</label> </span> <span> <input class="card-slide" id="out" type="text" placeholder="Sunuva..." /><label for="out">Maxed out card ;)</label> </span></div><div class="row"> <span> <input class="swing" id="artist" type="text" placeholder="BO$$" /><label for="artist">Artist</label> </span> <span> <input class="swing" id="song" type="text" placeholder="I don't give a ****" /><label for="song">Song</label> </span> <span> <input class="swing" id="eyes" type="text" placeholder="Crazy" /><label for="eyes">Eyes</label> </span></div><div class="row"> <span> <input class="balloon" id="state" type="text" placeholder="Liquid, solid, gaseous..." /><label for="state">State</label> </span> <span> <input class="balloon" id="planet" type="text" placeholder="Probably Earth" /><label for="planet">Planet</label> </span> <span> <input class="balloon" id="galaxy" type="text" placeholder="Milky Way?" /><label for="galaxy">Galaxy</label> </span></div>
發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 平乡县| 长葛市| 广西| 临泽县| 鄂托克旗| 陈巴尔虎旗| 木里| 西丰县| 宜黄县| 山阳县| 台北市| 綦江县| 西盟| 双柏县| 鄄城县| 庆云县| 重庆市| 莱西市| 涪陵区| 景谷| 奉贤区| 汝南县| 榕江县| 迁西县| 长兴县| 孟州市| 洞口县| 神农架林区| 崇义县| 高淳县| 会宁县| 贵阳市| 竹溪县| 嘉义县| 九龙城区| 彭阳县| 斗六市| 黄陵县| 神木县| 聂荣县| 苍梧县|