目录:
如何在手机上制作自己的网页
1、在手机上打开百度H5这个网页制作软件,选择新建一个页面就会出现这样的背景,手机网页可以在这里进行制作。
2、直接使用模板来进行制作,从软件的模板库中选择一个模板作为手机网页的模板。
3、也可以根据自己的需求对手机页面中的各个模块进行修改,选择这个手机页面上的元素,就可以在右面的编辑框中进行各种修改。
4、可以更改这个元素的图形,直接从自己的手机当中选择一幅图片来替换原来手机模板当中的图片。
5、还可以更改手机网页当中的文字格式,而修改这个文字的链接,在点击文字的时候可以跳转到其它的网页。
6、手机网页当中特定元素的修改,比对电话组件的修改,可以直接在右边的编辑框当中修改电话号码。
7、通过上述步骤制作完手机网页后,选择预览一下就可以在手机上看见自己网页的制作效果了。
CSS 如何实现让div的四个边框都有阴影的效果?
titlecss怎么给4个边框添加阴影/title
style type=”text/css”
span{ box-shadow: 2px 4px 6px #000; } /style
/head body span百度知道“css怎么给4个边框添加阴影”/span /body
简单的解释一下相关的代码属性
box-shadow: 2px 4px 6px #000
首先2px : 表示水平阴影的位置,然后4px : 表示垂直阴影的位置,接着5px : 表示模糊距离,最后#000 : 表示阴影的颜色(#000 黑色)
拓展资料:
层叠样式表(英文全称:Cascading Style Sheets)是一种用来表现HTML(标准通用标记语言的一个应用)或XML(标准通用标记语言的一个子集)等文件样式的计算机语言。CSS不仅可以静态地修饰网页,还可以配合各种脚本语言动态地对网页各元素进行格式化。
参考资料:百度百科-CSS
登录页面
!DOCTYPE html
html
head
meta charset=”UTF-8″
meta http-equiv=”X-UA-Compatible” content=”IE=edge”
meta name=”viewport” content=”width=device-width, initial-scale=1.0″
titleDocument/title
style
* {
margin: 0;
padding: 0;
}
html,body {
font-size: 12px;
font-family: ‘微软雅黑’;
height: 100%;
}
body {
background: url(./1\ \(1\).jpg);
background-size: 100% 100%;
}
.box {
width: 500px;
height: 650px;
background-color: #eeeeee;
position: relative;
margin: 10px auto;
overflow: hidden;
}
.box img {
position: absolute;
right: 0;
top: 0;
}
.dec {
width: 397px;
height: 23px;
margin: 77px auto 11px;
}
.z1 {
font-size: 23px;
color: #131313;
}
.z2 {
color: #1a479c;
margin-left: 40px;
}
.z3 {
color: #131313;
}
.line {
width: 450px;
height: 2px;
background-color: #cccccc;
margin: 0 auto;
}
.two {
margin: 39px auto 35px;
}
.label1 {
font-size: 16px;
margin-left: 10px;
vertical-align: top;
}
.label2 {
font-size: 12px;
color: #414141;
margin-left: 9px;
vertical-align: top;
}
#b {
margin-left: 126px;
width: 16px;
height: 16px;
}
#c {
margin-left: 56px;
width: 16px;
height: 16px;
}
.user {
width: 380px;
height: 40px;
background: url(./2.1.png) no-repeat 16px center;
border: 1px solid #cccccc;
background-color: white;
outline: none;
margin-left: 60px;
padding-left: 69px;
box-sizing: border-box;
display: block;
}
.psw {
width: 380px;
height: 40px;
background: url(./3.1.png) no-repeat 16px center;
border: 1px solid #cccccc;
background-color: white;
outline: none;
margin-left: 60px;
margin-top: 29px;
padding-left: 69px;
box-sizing: border-box;
display: block;
}
.yzm {
display: flex;
}
.yzm .yzm-input {
width: 180px;
height: 40px;
background-color: #ffffff;
border: solid 1px #ccc;
margin: 29px 50px 31px 60px;
}
.yzm .yzm-img {
width: 150px;
height: 40px;
background-color: #ffffff;
border: solid 1px #ccc;
margin-top: 29px;
background: url(./4.png);
}
.yzm span {
font-size: 14px;
color: #1a479c;
margin-top: 29px;
line-height: 40px;
margin-left: 9px;
}
#e {
margin-left: 61px;
}
.jz {
font-size: 14px;
color: #010101;
margin-left: 12px;
}
.three span {
margin-left: 188px;
font-size: 14px;
color: #1a479c;
}
.four {
width: 380px;
line-height: 45px;
background-color: #f19149;
border: 1px solid #F5B382;
box-sizing: border-box;
margin-top: 23px;
margin-left: 60px;
font-size: 24px;
color: #ffffff;
text-align: center;
}
.five {
width: 500px;
height: 1px;
background-color: #e5e5e5;
margin-top: 31px;
}
.six{
font-size: 14px;
color: #1a479c;
margin-left: 35px;
margin-top: 13px;
}
.seven{
background: url(./5.png) no-repeat;
width: 349px;
height: 22px;
margin-top: 26px;
margin-left: 58px;
}
/style
/head
body
div class=”456-7a37-a30c-78c8-8abd box”
img src=”./QQ截图20211207153220.png”
div class=”456-a30c-78c8-8abd-dbe5 dec”
span class=”456-78c8-8abd-dbe5-e584 z1″会员登录/span
span class=”456-8abd-dbe5-e584-a63a z2″立即注册/span
span class=”456-dbe5-e584-a63a-c116 z3″,享积分换礼、返现等专属优惠!/span
/div
div class=”456-e584-a63a-c116-727e line”/div
div class=”456-a63a-c116-727e-156d two”
input type=”radio” name=”pp” id=”b”
label for=”b” class=”456-c116-727e-156d-1ade label1″普通登录/label
input type=”radio” name=”pp” id=”c”
label for=”c” class=”456-727e-156d-1ade-9865 label2″手机动态密码登录/label
/div
input type=”text” placeholder=”请输入注册手机/注册邮箱” class=”456-156d-1ade-9865-6b09 user”
input type=”text” class=”456-1ade-9865-6b09-6e5a psw”
div class=”456-9865-6b09-6e5a-1e02 yzm”
input type=”text” class=”456-6b09-6e5a-1e02-484b yzm-input” placeholder=”请输入验证码”
div class=”456-2aef-20d1-7a37-a30c yzm-img”
/div
span换一张/span
/div
div class=”456-20d1-7a37-a30c-78c8 three”
input type=”checkbox” id=”e”
label for=”e” class=”456-7a37-a30c-78c8-8abd jz”30天内自动登录/label
span忘记密码?/span
/div
div class=”456-a30c-78c8-8abd-dbe5 four”登 录/div
div class=”456-78c8-8abd-dbe5-e584 five”/div
div class=”456-8abd-dbe5-e584-a63a six”您也可以用合作网站的帐号登录去i旅行网/div
div class=”456-dbe5-e584-a63a-c116 seven”
/div
/div
/body
/html
【 Ryzen】的内容来源于互联网,若引用不当,请发邮件456@456.cn联系删除


