创建博文尚学网页

一、源代码

1.1html

<!DOCTYPE html>
<html lang="en">
<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">
    <title>Document</title>
    <link rel="stylesheet" href="./css/common.css">
    <style>
        #banner{
     position: relative;}
        #banner .banner_list{
     width: 100%;height: 469px;position: relative;}
        #banner .banner_list li{
     width: 100%;height: 100%;background: center 0 no-repeat;position: absolute;left: 0;top: 0;opacity: 0;
        z-index: 1;}
        #banner .banner_list li.active{
     opacity: 1;z-index: 10;}
        #banner .banner_list a{
     display: block;width: 100%;height: 100%;}
        #banner .banner_btn{
     width: 100%;position: absolute;bottom: 19px;z-index: 20;font-size: 0;text-align: center;}
        #banner .banner_btn li{
     display: inline-block;width: 12px;height: 12px;border: 2px solid white;border-radius: 50%;
        box-sizing: border-box;margin: 0 6px;cursor: pointer;}
        #banner .banner_btn li.active{
     background: white;}

        
        #service{
     overflow: hidden;min-height: 407px;}   
        #service .service_list{
     text-align: center;margin-top: 34px;}
        #service .service_list li{
     float: left;width: 250px;margin: 0 10px;}
        #service .service_list div{
     width: 102px;height: 102px;margin:0 auto;}
        #service .service_list li:nth-of-type(1) div{
     background-image:url(./images/web1.png);}
        #service .service_list li:nth-of-type(2) div{
     background-image:url(./images/mail1.png);}
        #service .service_list li:nth-of-type(3) div{
     background-image:url(./images/e-bussiness1.png);}
        #service .service_list li:nth-of-type(4) div{
     background-image:url(./images/graphic1.png);}
        #service .service_list h3{
     font-size: 18px;color: #434343;line-height: 36px;margin-top: 25px;}
        #service .service_list p{
     font-size: 14px;color: #6d6d6d;line-height: 22px;} 

        #case{
     background: #f8f8f8;}
        #case .container{
     min-height: 460px;overflow: hidden;}
        #case .area_title{
     margin-top: 55px;}
        #case .area_title h2{
     color: #66C5B4;}
        #case .case_list{
     margin-top: 28px;}
        #case .case_list li{
     
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值