作业三 网页制作

页面1

代码:

*{
    margin: 0;
    padding: 0;
}
a{
    text-decoration: none;

}
#y-f{
color: white;
}
ul,ol,li{
    list-style: none;
}
u1 a{
color: white;

}
dl{
    color: white;
}
.one{
    width: 100%;
    height: auto;
    min-width: 1653px;
    margin: 0;
    padding: 0;

}
.oone{
    width: 100%;
    height: 60px;
    background-color: white;
    position: relative;
    float: left;
}
.ooone{
    width: 75%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}
.ooone ul{
    width: 100%;
    height: 100%;
    float: left;
}
.ooone ul li{
    width: 14%;
    float: left;
    font-size: 20px;
    margin-top: 15px;
    cursor:pointer;
}
.ooone ul li a{
    color:black;
    font-weight: 700;
}
.ooone ul li a:hover{
    color:red;
}
.ooone ul li span{
    color: white;
    font-size: 10px;
}
ul li{
    list-style: none;
}
#u_1{
    height:50px;
    background-color:black;

}
#u_1 li{
    margin-right:80px;
    font-size:10px;
    color:white;
    float:right;
    margin-top:20px;
}
#datou{
    position:fixed;
    top:0;
    width:100%;
    z-index:999;
}
#jy{
    margin: 50px auto 0px;
    background-image: url("../pic/京燕.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height:600px;
}
#wenben{
    width: 1100px;
    height: 500px;
    margin-top: 70px ;
    margin-left: 50px;
    position: absolute;
}
#biaoti{
    width: 400px;
    height: 60px;
    margin-top: 100px ;
    margin-left: 80px;
    font-size: 50px;
    font-family: 微软雅黑;
    text-align: center;
    color: white;
}
#JDX-50{
    margin-left: 80px;
    color: white;
    margin-top: 40px ;

}
#app{
    margin-top: 40px;
}
#tiaozhuan{
    text-align: center;
    list-style-type: none;
    height: 80px;
    font-size: 25px;
}
#tiaozhuan li{
    list-style-type: none;
    display: inline-block;
    margin: 50px auto;
    width: 100px;
}
h2,h3{
    text-align: center;
    height: 50px;
    margin-top: 40px;
}
.tedian{
    margin: 0px auto;
    text-align: center;
}
.tedian1{
    margin: 0px auto;
    text-align: center;
    background: #F8F8F8;
}

.tedian2{
    margin: 0px 20px;
    text-align: center;
}
#woshou{
    background-image: url("../pic/握手.jpg");
    background-repeat: no-repeat;
    background-size: 100%;
    width: 100%;
    height: 300px;
    position: absolute;
    clear:both;
}
#lianxi{
    margin-top: 60px;
    margin-left: 100px;
    font-size: 50px;
    color: red;
    font-family: 黑体;

}
#app1{
    margin-left: 100px;
    margin-top: 30px;


}
#pigu{
    width: 100%;
    clear:both;
    position: absolute;
    margin-top: 300px;
}
#pigu li{
    list-style-type: none;
    display: inline-block;
    margin: 0px auto;
}
.li_1 li{
    width: 15%;
    text-align: center;

}
.li_1{
    text-align: center;
}

运行截图:

页面2:

代码:

#logo{
    width: 200px;
    height: 80px;
    float:left;
    left: 100px;
}

#tx{
    width: 200px;
    height: 80px;
    font-size: 30px;
    padding: 20px 0px 0px 0px;
    float: left;
}
#toubu{
    height:80px;
    width: 1200px;
    padding: 20px 0px;
}
#tianchong{
    width: 400px;
    float: left;
    height: 100px;
}
#bg{
    background-image: url("../pic/jdbg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    height: 500px;
    width: 100%;
}
#zi{
    text-align: center;
    background:#FFF8F0;
    color: #72767b;
    text-align: center;
    vertical-align: center;
    padding: 10px 0px;
}
#denglu{
    padding: 10px 0px;
    width: 300px;
    height: 355px;
    background: #F6F6F6;
    left: 100px;
}
.anniu{
    text-align: center;
    margin: 10px auto;
}
.zi{
    text-align: center;
    margin: 10px auto;
    color: #BFC0BF;}
a:link { text-decoration: none;color: black}
a:active { text-decoration:blink}
a:hover { text-decoration:underline;color: red}
a:visited { text-decoration: none;color: black}

运行截图:

  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值