杰网资源 Design By www.escxy.com
设计上图中的网页:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> form{ width: 800px; height: 700px; border: 1px solid red; margin: auto; background: url(images/tree.jpg) no-repeat -40px 300px; } form h3{ margin-left: 200px; } p{ margin-left: 200px; } hr{ margin-left: 200px; } .a1{ margin-left: 85px; } .a2{ margin-left: 110px; } input, textarea { background: url(images/attention.png) no-repeat right; } button{ margin-left: 200px; background: rgb(81, 187, 125); color: white; } span#as:hover input{ width: 300px; height: 40px; } </style> </head> <body> <form action=""> <h3>用户注册:</h3> <hr> <p>用户昵称:<span class="a1" id="as"><input type="text" required placeholder autofocus></span> <hr></p> <p>注册邮箱:<span class="a1" id="as"><input type="email" required placeholder="javin@example.com"></span><hr></p> <p>密码: <span class="a2" id="as"><input type="password" required placeholder></span><hr></p> <p>性别:<span class="a2">男<input type="radio" name="1" checked> 女 <input type="radio" name="1"> </span><hr> </p> <p>年龄:<span class="a2" id="as"><input type="number" name="number1" required placeholder></span><hr></p> <p>兴趣爱好:<span class="a1"> 足球<input type="checkbox" name="1"> 篮球<input type="checkbox" name="1"> 游泳<input type="checkbox" name="1"> 唱歌<input type="checkbox" name="1"> 跑步<input type="checkbox" name="1"> 瑜伽<input type="checkbox" name="1"> </span><hr></p> <p>自我介绍: <span class="a1"><textarea name="abcde" cols="30" rows="10" required placeholder>Please enter your message</textarea></span><hr> </p> <button type=submit>立即注册</button> <div></div> </form> </body> </html>
杰网资源 Design By www.escxy.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件! 如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
杰网资源 Design By www.escxy.com
暂无评论...
P70系列延期,华为新旗舰将在下月发布
3月20日消息,近期博主@数码闲聊站 透露,原定三月份发布的华为新旗舰P70系列延期发布,预计4月份上市。
而博主@定焦数码 爆料,华为的P70系列在定位上已经超过了Mate60,成为了重要的旗舰系列之一。它肩负着重返影像领域顶尖的使命。那么这次P70会带来哪些令人惊艳的创新呢?
根据目前爆料的消息来看,华为P70系列将推出三个版本,其中P70和P70 Pro采用了三角形的摄像头模组设计,而P70 Art则采用了与上一代P60 Art相似的不规则形状设计。这样的外观是否好看见仁见智,但辨识度绝对拉满。