私はそれほどナンセンスとは言いません、私はあなたに重要なコードを投稿するだけです。特定のコードは次のとおりです。
< xmlns = "http://www.w3.org/1999/xhtml"> <head> <title> new Document> new Document> new Document </title> <meta http-equiv = "content-type" content = "text/html; charset = utf-8"/> <link link link ""/> <スタイル= " type = "text/css">。box {width:1000px; margin:0 auto; height:500px; border:1px solid緑;}。tbox {width:150px; height:30px; border:1px solid#585858;マージン:10px 10px; background-color:#eee; vertical-align:middle; background:url(re_code2.png)no-repeat #eee 8px 8px; background-size:15px;}。マージン:10px 10px;}。pb1:hover {background-color:#eee; vertical-align:middle; background:url(re_code1.png)no-repeat #eee 8px 8px; style = "background-color:#fff;"> <div> <div onmouseout = "this.classname = 'tbox'" onmousemove = "this.classname = 'tbox1 pb1'"> <div style = "float:left; width:30px; height:30px;"> </div div style = "float:"> <"> <pusprati type = "password" placeholder = "パスワードを入力してください" value = ""/> </div> </div> <div> </body> </html>上記は、編集者が紹介した共有です。 JSコードは、入力ボックスと画像を実装して、同時にスタイルを変更します。私はそれが誰にでも役立つことを願っています。ご質問がある場合は、メッセージを残してください。編集者は、すべての人に時間内に返信します。 wulin.comのウェブサイトへのご支援ありがとうございます!