解决方案 示例

<div class="container-fluid gray-bg">
     <div class="container">
      <h2 class="common-title text-center">您的Cookies偏好 </h2>
      <div class="row">
        <div class="col-lg-8 col-lg-offset-2 common-detail text-center">欢迎来到Tencent.com!

            我们希望使用分析型Cookies和类似技术 (“Cookies”) 来改善我们的网站。 Cookies收集的信息
            不会识别您个人。有关我们使用的Cookies的类型以及您的偏好选项(包括如何更改您的偏好设置)
            的更多信息,请查看此处的Cookies政策。</div>
      </div>
 
      <div class="row list-con">
        <div class="col-lg-4 list-item col-md-6 col-sm-6 ">
          <h3>全球战疫 一起行动</h3>
          <p>在新冠肺炎疫情之战中,腾讯秉持科技向善,
            以互联网科技的力量,通过我们的技术和产品为全球战疫提供支持。</p>
        </div>
        <div class="col-lg-4 list-item list02 col-md-6 col-sm-6 ">
          <h3>全球战疫 一起行动</h3>
          <p>在新冠肺炎疫情之战中,腾讯秉持科技向善,
            以互联网科技的力量,通过我们的技术和产品为全球战疫提供支持。</p>
        </div>
        <div class="col-lg-4 list-item list03 col-md-6 col-sm-6 ">
          <h3>全球战疫 一起行动</h3>
          <p>在新冠肺炎疫情之战中,腾讯秉持科技向善,
            以互联网科技的力量,通过我们的技术和产品为全球战疫提供支持。</p>
        </div>
        <div class="col-lg-4 list-item list04 col-md-6 col-sm-6 ">
          <h3>全球战疫 一起行动</h3>
          <p>在新冠肺炎疫情之战中,腾讯秉持科技向善,
            以互联网科技的力量,通过我们的技术和产品为全球战疫提供支持。</p>
        </div>
        <div class="col-lg-4 list-item list05 col-md-6 col-sm-6 ">
          <h3>全球战疫 一起行动</h3>
          <p>在新冠肺炎疫情之战中,腾讯秉持科技向善,
            以互联网科技的力量,通过我们的技术和产品为全球战疫提供支持。</p>
        </div>
        <div class="col-lg-4 list-item list06 col-md-6 col-sm-6">
          <h3>全球战疫 一起行动</h3>
          <p>在新冠肺炎疫情之战中,腾讯秉持科技向善,
            以互联网科技的力量,通过我们的技术和产品为全球战疫提供支持。</p>
        </div>
      </div>
     </div>
  </div>
 
 
 
 
 
===============================================CSS=================================================
 

.navbar-brand{
    padding: 10px 10p 20px 20px;
}
.font{
    font-size: 40px;
    text-shadow: 0 0 2px black;
    color: #eb2525;
}
.bg-gray .list-item:nth-of-type(3){
    background-position: left -224px ;
}
.bg-gray .item2{
    background-position: left -112px ;
}
.bg-gray .list-item{
    background: url('../img/icons.pug') left top no-repeat ;
    width: 112px;
}
.navbar-brand{
    padding:10px 15px 20px 20px;
}
.navbar{
    margin-bottom:0px;
}
.jumbotron{
    background:url(../img/bg.jpg) center center no-repeat;
    padding: 10px 0 0 0;
    margin-bottom: 0px;
}
.banner-title{
    font-size: 24px;
    color:#ddfa52;
    line-height: 1;
    margin-top:90px;
}
.banner-detail{
    font-size: 14px;
    color:#fff;
    line-height: 28px;
    margin-top: 20px;
}
@media(max-width:1200px){
    .banner-title{
        margin-top:60px;
    }
}
@media(max-width:992px){
    .banner-title{
        margin-top:10px;
    }
}
 
.gray-bg{
    background-color: #f2f2f2;
}
.common-title{
    font-size: 30px;
    color:#b5cd42;
    line-height: 1;
    margin-top: 45px;
}
.common-detail{
    font-size: 14px;
    color:#7a7a7a;
    line-height: 28px;
    margin-top: 18px;
}
.list-con{
    margin-top: 96px;
}
.list-item{
    background: url(../img/anna.jpg) left top no-repeat;
    padding-left:138px;
    height:112px;
    margin-bottom: 39px;
}
.list02{
    background-position: left -60px;
}
.list03{
    background-position: left -120px;
}
.list04{
    background-position: left -180px;
}
.list05{
    background-position: left -240px;
}
.list06{
    background-position: left -320px;
}
.list-item h3{
    font-size:16px;
    color:#4e4e4e;
    font-weight: bold;
}
.list-item p{
    font-size: 14px;
    color:#7a7a7a;
    line-height: 28px;
}
.case-list{
    margin-top:60px;
    padding-left: 15px;
    padding-right: 15px;
}
.case-list img{
    width:60%;
}
.case-list .col-lg-3{
    padding:0px;
    position: relative;
}
@media(max-width: 500px) {
    .case-list .col-xs-6{
        width:100%;
    }
}
.case-list .col-lg-3 .mask{
    position: absolute;
    left:0px;
    top:0px;
    width:100%;
    height:100%;
    background-color: #b5cd42;
    color:#fff;
    padding:10px;
    display: none;
}
.case-list .col-lg-3:hover .mask{
    display: block;
}
.blue-bg{
    background-color: #2c8fba;
    margin-top:75px;
}
.blue-bg .common-title{
    color:#fff;
}
.blue-bg .common-detail{
    color:#fff;
}
.logo-list a{
    display: block;
    width:200px;
    height:180px;
    background: url(../img/logos.jpg) left top no-repeat;
    margin: 0 auto;
 
 
}
.logo-list .logo1{
    background-position: left -180px;
}
.logo-list .logo2{
    background-position: left -360px;
}
.logo-list .logo3{
    background-position: left -540px;
}
.logo-list .logo4{
    background-position: left -720px;
}
.logo-list .col-lg-2{
    width:20%;
}
@media(max-width:1200px){
    .logo-list .col-lg-2{
        width:33%;
        float:left;
    }
}
@media(max-width:992px){
    .logo-list .col-lg-2{
        width:50%;
        float:left;
    }
}
@media(max-width:768px){
    .logo-list .col-lg-2{
        width:100%;
       
    }
}
.links-list{
    margin-top: 72px;
    margin-bottom: 72px;
}
.links-list dt{
    font-size: 20px;
    color:#191919;
    line-height: 1;
    margin-bottom: 10px;
}
.links-list dd{
    line-height: 30px;
}
.links-list dd a{
    color:#a0a0a0;
}
.dark-bg{
    background-color: #2e2e2e;
    border-top: 5px solid #2994bf;
}
.footer{
    min-height:82px;
}
.footer .text-left{
    color:#fff;
    line-height:82px;
}
.footer .text-right{
    line-height:82px;
}
.footer .text-right a{
    color:#fff;
    padding-left:10px;
}
@media(max-width:769px){
    .footer .text-left{
        line-height:60px;
    }
    .footer .text-right{
        text-align: left;
        line-height:20px;
        margin-bottom: 15px;
    }
    .footer .text-right a{
        padding-left:0px;
        padding-right:10px;
    }
}
 
 

 

 

 

 

 
posted @ 2022-04-20 08:50  lknmn  阅读(82)  评论(0)    收藏  举报