使用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

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值