企业站项目页面布局(适应手机端)

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="./common.css">
</head>
<style>
	/*手机端*/
    @media (max-width:1200px) {
    
        html{
    
            width: 1300px;
        }
        /*看不清可以用边框*/
        .header{
    
            width: 1300px;
            height: 56px;
            background: #282633;
        }
        .header-c{
    
            width: 1215px;
            height: 56px;
            margin: auto;
        }
        .logo{
    
            margin-top: 4px;
            border-right: 1px solid floralwhite;
            padding-right: 40px;
        }
        .nav{
    
            margin-left: 76px;
        }
        .nav li{
    
            float: left;
            line-height: 56px;
            margin-right: 7px;
        }
        .nav li:hover{
    
            background:darkseagreen;
        }
        .nav a{
    
            color: #fff;
            display: block;
            padding:0 15px;
        }
        .login-btn,.register-btn{
    
            width: 60px;
            height: 26px;
            background: transparent;
            color: #fff;
            border: none;
            border-radius: 5px;
        }
        .login-btn{
    
            border: 1px solid cadetblue;
        }
        .register-btn{
    
            border: 1px solid greenyellow;
        }
        .login{
    
            margin-top: 13px;
        }
        .show-c{
    
            width: 1215px;
            height: 580px;
            margin: auto;
        }
        .show{
    
            height: 580px;
            width: 1300px;
            background: url(59.jpg)no-repeat center 0;
        }
        .show-intro{
    
            width: 360px;
            margin-top: 192px;
            margin-left: 122px;
        }
        .show-pic{
    
            margin-top: 90px;
            margin-right: 60px;
        }
        .show-title{
    
            font-size: 40px;
            color: greenyellow;
            font-weight: normal;
            margin-bottom: 44px;
        }
        .show-para{
    
            font-size: 20px;
            color:yellowgreen;
        }
        .spe{
    
            width: 1215px;
            height: 380px;
            margin: 0 45px;
        }
        .spe-li{
    
            width: 25%;
            text-align: center;
        }
        .spe-t2{
    
            padding: 0px 30px;
            font-size: 12px;
            margin-top: 14px;
        }
        .spe li img{
    
            margin-top: 60px;
            margin-bottom: 23px;
        }
        .apply{
    
            width: 1300px;
            height: 118px;
            background: #fafafa;
        }
        .apply-c{
    
            width: 1215px;
            height: 118px;
            margin: 50px auto;
        }
        .apply-t{
    
            font-size: 28px;
            text-align: center;
            padding-top: 24px;
        }
        .apply-li{
    
            padding: 0 50px;
            border-right: 1px solid #999;
            height: 34px;
            line-height: 34px;
        }
        .apply-li-last{
    
            border-right: none;
        }
        .apply-ul{
    
            margin: 18px 0 0 26px;
        }
        .apl{
    
            width: 1300px;
            background: #68ccaa;
            height: 520px;
        }
        .apl-c{
    
            height: 520px;
            width: 1215px;
            margin: auto;
        }
        .apl-left{
    
            color: #fff;
            margin-top: 134px;
            margin-left: 106px;
        }
        .apl-right {
    
            margin-top: 30px;
        }
        .apl-intr{
    
            font-size: 35px;
        }
        .apl-size1{
    
            margin-top: 10px;
        }
        .apl-size2{
    
            margin-top: 34px;
            margin-bottom: 10px;
        }
        .goods{
    
            width: 1300px;
            height: 810px;
            background: #fafafa;
        }
        .goods-c{
    
            height: 1030px;
            width: 1215px;
            margin: auto;
        }
        .goods-t{
    
            line-height: 116px;
            font-size: 28px;
            text-align: center;
        }
        .goods-li{
    
            width: 202px;
            float: left;
            margin: 0 10px;
            box-sizing: border-box;
        }
        .goods-p{
    
            font-size: 12px;
            line-height: 55px;
            text-align: center;
        }
        .goods-ul{
    
            padding: 0 50px;
            overflow: hidden;
        }
        .more{
    
            width: 164px;
            height: 32px;
            line-height: 32px;
            text-align: center;
            border: 1px solid #999;
            border-radius: 6px;
            margin: auto;
        }
        .user{
    
            width: 1300px;
            height: 520px;
            margin: auto;
            text-align: center;
        }
        .user-t{
    
            font-size: 24px;
            line-height: 116px;
        }
        .footer{
    
            width: 1300px;
            height: 200px;
            background: #57586d;
        }
        .footer-c{
    
            width: 1215px;
            height: 200px;
     
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值