div+css3纯手工制作登录页
来源:互联网 发布:淘宝可以直邮韩国么 编辑:程序博客网 时间:2024/04/27 03:12
上午闲的没事干,手工制作了个登录,看图
重点是这个地方的制作!
好吧!第一次在这里编辑,不太顺手!不多说,上代码,页面部分
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>login</title>
</head>
<body>
<div class="login">
<div class="name">
<div class="nameLeft">
<div style=" width:100%; height:40%;">
<div class="nameLeftTop" ></div>
</div>
<div style=" width:100%; height:60%;">
<div class="nameLeftBoot"></div>
</div>
</div>
<input type="text" value="用户名" style="color:#CCCCCC"/>
</div>
<div class="pwd">
<div class="pwdLeft">
<div style=" width:100%; height:40%;">
<div class="pwdLeftTop" ></div>
</div>
<div style=" width:100%; height:60%;">
<div class="pwdLeftBoot"></div>
</div>
</div>
<input type="password" value="123456"></input>
</div>
</div>
</body>
</html>
css部分
<style type="text/css">
.login{width:300px;height:200px;
border:1px solid #CCCCFF;
margin:200px auto;
}
.name,.pwd{width:200px;height:28px; border:1px solid #FF6633;
margin:20px auto;
}
.nameLeft,.pwdLeft{ width:30px; height:100%;float:left;
background:#FF6633;
}
.name input,.pwd input{width:164px; height:26px; float:left; border-style:none; line-height:26px; padding-left:4px}
*:focus { outline: none; }
.pwdLeftTop{width:10px; height:8px; background:#FFFFFF;border-radius:4px 4px 2px 2px; margin:2px auto; z-index:1}
.pwdLeftTop:before{
width:6px;height:6px;
margin:2px 2px;
background:#FF6633;
border-radius:3px 3px 0px 0px;
z-index: 2;
position: absolute;
content: "";
}
.pwdLeftBoot{width:16px; height:14px; background:#FFFFFF; margin:-2px auto;border-radius:1px 1px 6px 6px ;}
.pwdLeftBoot:before{
z-index: 2;
position: absolute;
content: "";
width:4px; height:4px;
border-radius:2px;
background:#FF6633;
margin:2px 6px;
}
.pwdLeftBoot:after{
z-index: 2;
position: absolute;
content: "";
width:2px; height:4px;
border-radius:2px;
background:#FF6633;
margin:6px 7px;
}
.nameLeftTop{width:8px; height:8px; background:#FFFFFF;margin:3px auto; border-radius:5px}
.nameLeftBoot{width:16px; height:12px; background:#FFFFFF;margin:-1px auto; border-radius:14px 14px 1px 1px}
</style>
新人制作,写错的地方还请大牛指出!
- div+css3纯手工制作登录页
- 纯CSS3制作轮播图
- 手工编译java,手工打包, 纯手工制作
- 【图片】纯CSS3制作背景图
- 纯CSS3精美登录界面
- Android_10_Java调用C代码(纯手工制作)
- 纯CSS3制作的 登录模板 简洁蓝白(非IE效果更好)
- 纯css3显示隐藏一个div特效
- 纯div+css3代码绘制hellokitty猫
- 纯div+css3代码绘制可爱小女孩
- 纯CSS3+DIV实现小三角形边框
- 纯CSS3制作皮卡丘动画壁纸
- 纯CSS3进度条制作-Pure CSS3 Progress Bar
- 纯天然手工制作RS232/TTL转换模块
- 辣出翔,纯手工制作,辣椒酱中的极品辣出翔辣椒酱
- 纯手工制作—Android原生手势锁
- 利用POI实现复杂表头制作(纯手工)
- 纯div+css制作的弹出菜单
- Ubuntu系统下的Hadoop集群(6)_Hadoop安装配置简略教程
- Java int和integer的区别
- WCF基础教程(三)——WCF通信过程及配置文件解析
- 《Objective-C基础教程》第8章 Foundation Kit 介绍
- Java中String问题汇总
- div+css3纯手工制作登录页
- Mysql函数(全)
- [leetcode] Implement strStr()
- Kali 2.0安装之后的简单设置
- 水池数目dfs
- Android百分比布局支持库介绍——com.android.support:percent
- qss
- 百度搜索SDK开发者文档 乐点
- quick 3.3final 编译成功 运行出错的问题