使用DW设置网页背景图

开发工具与关键技术: 使用DW设置网页背景图
作者:冉启东
撰写时间:2019年04月08日
使用dw制作登录界面代码如下:

CSS1部分代码如下: .cont { width: 241px;/*边框样式*/ height: 230px; padding: 15px; border-radius: 5px; box-shadow: 0 2px 3px #ccc; margin-bottom: 20px; margin: 250px auto; }

a {/登录字体/
font-size: 20px;
1

margin-top: 0px;
color: #fff;
margin-left: 30px;
margin: auto;
text-decoration: none;
}
.al {/按钮样式/
width: 55px;
height: 35px;
border-radius: 5px;
margin-top: 0px;
margin: auto;
color: #fff;
background-color: #007bff;
border-color: #007bff;
}
.pro_plan {/登录的边框/
margin: 30px auto;
text-decoration: none;
text-align: center;
}
CSS2部分:
input{
height: 38px;//
width: 237px;//
margin-top: 20px;/上外边距/
border-radius: 5px;
opacity: 0.7;
}
/----------账号跟密码-----------/
.zczh a {/注册账号/
height: 38px;
margin: -105px;
font-size: 20px;
color: #3CF326;
text-align: center;
}
.wjmm a {/忘记密码/
margin-left:-25px;
font-size: 20px;
color: #3CF326;

2

/text-align: center;/
float: right;
}
效果图如下:
没有设置背景前:在这里插入图片描述 设置背景后: 在这里插入图片描述
3

猜你喜欢

转载自blog.csdn.net/weixin_44540672/article/details/89088707