#学习笔记#(3)会员管理系统登录界面HTML+CSS
2015-11-30 17:57
721 查看
denglu.html
denglu.css
<html> <head> <title>会员管理系统登录</title> <link rel="stylesheet" type="text/css" href="denglu.css"></link> </head> <body> <center><h1>会员管理系统</h1></center> <form class="denglukuang" id="denglukuang" onmouseover="mousein()" onmouseout="mouseout()"> <label>用户名:</label> <input type="text" class="shuru"></input></br> <label>密 码:</label> <input type="text" class="shuru"></input></br> <div class="fright"> <div> <input type="checkbox"><a class="jizhumima">记住密码</a></input> <input type="submit" value="登录" class="submit"></input> <input type="submit" value="取消" class="quxiao"></input> </div> <div class="zhaohuimima"> <a>找回密码</a> </div> </div> </form> <script> //鼠标进入离开时改变透明度——未完成 function mouseout() { var form1=document.getElementById("denglukuang"); form1.className="mouseout"; } function mousein() { var form1=document.getElementById("denglukuang"); form1.className="mousein"; } </script> </body> </html>
denglu.css
body { background-image:url(imgs/bg.jpg); font-family:微软雅黑; color:white; } .denglukuang { width:400px; height:250px; margin-top:100px; margin-left:460px; padding-left:75px; padding-top:50px; border:3px solid #5F9EA0; font-size:22px; line-height:50px; background-image:url(imgs/denglukuang.jpg); opacity:0.4; filter:alpha(opacity=40); } .mouseout { width:400px; height:250px; margin-top:100px; margin-left:460px; padding-left:75px; padding-top:50px; border:3px solid #5F9EA0; font-size:22px; line-height:50px; background-image:url(imgs/denglukuang.jpg); opacity:0.4; filter:alpha(opacity=40); } .mousein { width:400px; height:250px; margin-top:100px; margin-left:460px; padding-left:75px; padding-top:50px; border:3px solid #5F9EA0; font-size:22px; line-height:50px; background-image:url(imgs/denglukuang.jpg); opacity:1; filter:alpha(opacity=100); } .shuru { width:200px; } .fright { float:right; } .jizhumima { font-size:14px; text-decoration:underline; margin-right:20px; } .submit { width:50px; height:25px; font-family:微软雅黑; margin-top:50px; margin-right:15px; } .quxiao { width:50px; height:25px; font-family:微软雅黑; margin-top:50px; margin-right:100px; } .zhaohuimima { font-size:14px; float:right; margin-right:100px; text-decoration:underline; }图片文件夹 imgs
相关文章推荐
- CSS基础知识真难啊-background-渐变
- 头像上传
- CSS 总结01天
- 一张png图片 上面有多个图标,如何用CSS准确的知道其中某个图片的坐标
- css案例学习之table tr th td ul li实现日历
- css案例学习之用thead、tbody、tfoot实现漂亮的table布局
- css选择器 学习笔记
- css案例学习之ul li dl dt dd实现二级菜单
- css案例学习之span边框实现的特殊效果
- css案例学习之通过relative与absolute实现带说明信息的菜单
- css重置样式表reset.css
- css案例学习之div a实现立体菜单
- css案例学习之双斜角横线菜单
- css案例学习之div+a实现菜单
- 样式和主题
- semantic modal 首次弹出位置不正确()
- css3 实现邮票样式
- css
- css案例学习之div ul li a 实现导航效果
- css初始化