html css 分类相册制作 单击有大图片预览cid1045-网站代码设计


Warning: Undefined property: stdClass::$maxbutton id="5" in /www/wwwroot/code.5g-o.com/wp-content/plugins/kama-clic-counter/class.KCCounter.php on line 733

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <!-- Google Font -->
    <link href="https://fonts.googleapis.com/css?family=Roboto+Condensed:300,300i,400,400i,700i" rel="stylesheet">
    
    <!-- Font Awesome cdn file -->
   
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    
    
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> 
    
     <!--Responsive tabs-->
       
    <link rel="stylesheet" href="responsive-tabs.css">     
          
    <!-- Magnific css file  -->   
    
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/magnific-popup.min.css">
    
    
    <!-- Owl carousel css file  -->
    
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.min.css">
    
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.theme.min.css">
  
    <!-- jQuery library -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>

    <!-- Latest compiled JavaScript -->
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    
    <!-- Owl carousel JS file  -->
    
    <script src="https://cdnjs.cloudflare.com/ajax/libs/owl-carousel/1.3.3/owl.carousel.min.js"></script>
    
     
    <!-- Magnific JS file  -->
    
    <script src="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js"></script>
     
    <!-- style file -->
    
    <link rel="stylesheet" href="style.css">
     
    
</head>
<body>
      
       <br><br><br><br>
       <section class="works">
           <div class="container">
               <div class="row no-gutters">
                   <div class="filtering text-center col-sm-12">
                       <div class="filter">
                           <span data-filter='*' class="active">All Projects</span>
                           
                           <span data-filter='.brand'>GRAPHICS</span>
                           <span data-filter='.web'>WEB DESIGN</span>
                           <span data-filter='.graphic'>MARKETING</span>
                       </div>
                   </div>
                   <div class="clearfix"></div>
                   <br><br><br><br>
                   
                   <div class="gallery full-width">
                       <div class="col-lg-3 items graphic">
                           <div class="item-img">
                               <img src="img/1.gif" class="img-responsive" alt="">
                               <div class="item-img-overlay">
                                   <div class="overlay-info full-width">
                                       <p>LOGO | Branding</p>
                                       <h5>Creative Web Design</h5>
                                       <a href="img/1.gif" class="popimg"></a>
                                       <span class="icon">
                                           <i class="fa fa-arrow-right"></i>
                                       </span>
                                   </div>
                               </div>
                           </div>
                       </div>
                          
                    <div class="col-lg-3 items brand">
                           <div class="item-img">
                               <img src="img/2.gif" class="img-responsive" alt="">
                               <div class="item-img-overlay">
                                   <div class="overlay-info full-width">
                                       <p>LOGO | Branding</p>
                                       <h5>Creative Web Design</h5>
                                       <a href="img/2.gif" class="popimg">
                                           
                                           <span class="icon">
                                               <i class="fa fa-arrow-right"></i>
                                           </span>
                                           
                                       </a>
                                   </div>
                               </div>
                           </div>
                       </div>
                       
                       <div class="col-lg-3 items web">
                           <div class="item-img">
                               <img src="img/3.gif" class="img-responsive" alt="">
                               <div class="item-img-overlay">
                                   <div class="overlay-info full-width">
                                       <p>LOGO | Branding</p>
                                       <h5>Creative Web Design</h5>
                                       <a href="img/3.gif" class="popimg">
                                           
                                           <span class="icon">
                                               <i class="fa fa-arrow-right"></i>
                                           </span>
                                           
                                       </a>
                                   </div>
                               </div>
                           </div>
                       </div>
                       
                       
                       <div class="col-lg-3 items graphic">
                           <div class="item-img">
                               <img src="img/4.gif" class="img-responsive" alt="">
                               <div class="item-img-overlay">
                                   <div class="overlay-info full-width">
                                       <p>LOGO | Branding</p>
                                       <h5>Creative Web Design</h5>
                                       <a href="img/4.gif" class="popimg">
                                           
                                           <span class="icon">
                                               <i class="fa fa-arrow-right"></i>
                                           </span>
                                           
                                       </a>
                                   </div>
                               </div>
                           </div>
                       </div>
                       
                       <div class="col-lg-3 items web">
                           <div class="item-img">
                               <img src="img/5.gif" class="img-responsive" alt="">
                               <div class="item-img-overlay">
                                   <div class="overlay-info full-width">
                                       <p>LOGO | Branding</p>
                                       <h5>Creative Web Design</h5>
                                       <a href="img/5.gif" class="popimg">
                                           
                                           <span class="icon">
                                               <i class="fa fa-arrow-right"></i>
                                           </span>
                                           
                                       </a>
                                   </div>
                               </div>
                           </div>
                       </div>
                         <div class="col-lg-3 items brand">
                           <div class="item-img">
                               <img src="img/7.gif" class="img-responsive" alt="">
                               <div class="item-img-overlay">
                                   <div class="overlay-info full-width">
                                       <p>LOGO | Branding</p>
                                       <h5>Creative Web Design</h5>
                                       <a href="img/7.gif" class="popimg">
                                           
                                           <span class="icon">
                                               <i class="fa fa-arrow-right"></i>
                                           </span>
                                           
                                       </a>
                                   </div>
                               </div>
                           </div>
                       </div>
                        <div class="col-lg-3 items brand">
                           <div class="item-img">
                               <img src="img/8.gif" class="img-responsive" alt="">
                               <div class="item-img-overlay">
                                   <div class="overlay-info full-width">
                                       <p>LOGO | Branding</p>
                                       <h5>Creative Web Design</h5>
                                       <a href="img/8.gif" class="popimg">
                                           
                                           <span class="icon">
                                               <i class="fa fa-arrow-right"></i>
                                           </span>
                                           
                                       </a>
                                   </div>
                               </div>
                           </div>
                       </div><div class="col-lg-3 items brand">
                           <div class="item-img">
                               <img src="img/9.gif" class="img-responsive" alt="">
                               <div class="item-img-overlay">
                                   <div class="overlay-info full-width">
                                       <p>LOGO | Branding</p>
                                       <h5>Creative Web Design</h5>
                                       <a href="img/9.gif" class="popimg">
                                           
                                           <span class="icon">
                                               <i class="fa fa-arrow-right"></i>
                                           </span>
                                           
                                       </a>
                                   </div>
                               </div>
                           </div>
                       </div>
                       
                       
                       
                   </div>
                   
                   
                   
                   
                   
               </div>
           </div>
       </section>
       
 
     
    <script src="main.js"></script>
     <script src="jquery.responsiveTabs.min.js"></script>
     <script src="isotope.pkgd.min.js"></script>
     <script src="https://cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.1.0/jquery.magnific-popup.min.js"></script>
     
      
   
</body>
</html>

css

*{

  margin: 0;
  padding: 0;

}

body{    
    font-family: 'Roboto Condensed', sans-serif;
    
}
 
 #services-02 {
    background: #f4f4f4;
       margin-top: 90px;
}

#services-tabs ul {
    margin-bottom: 40px;
}

#services-tabs ul li {
    padding: 5px 30px;
}

#services-tabs ul li a {
     font-family: "Roboto Condensed", sans-serif; ;
    font-size: 14px;
    color: #212226;
    text-transform: uppercase;
    font-weight: bold
    padding: 0;
    text-decoration: none;
}


/* Tab active state */

#services-tabs ul li.r-tabs-state-active a {
    color: #fb527a;
    font-weight: 700;
    border-bottom: 3px solid #fb527a;
    padding-bottom: 5px;
    -webkit-transition: border-color 300ms linear;
    transition: border-color 300ms linear;
}

.service-tab .col-md-6 {
    padding: 0;
}

.service-tab img {
    width: 100%;
    margin: 0 auto;
}

.service-tab .tab-bg {
    background: #fff;
    padding: 59px 30px;
    min-height: 481px;
}

.service-tab h2 {
    font-size: 48px;
    color: #bbb;
    margin-bottom: 20px;
    font-weight: 100;
}

.service-tab h3 {
    font-size: 32px;
    margin-bottom: 30px;
}

.service-tab p {
    line-height: 24px;
    margin-bottom: 30px;
}
 

.works .filtering .filter{
    display: inline-block;
    padding: 29px 15px;
    
    box-shadow: 0px 10px 30px rgba(0,0,0,0.1);
    
}


.works .filtering span{
    margin: 0 5px;
    padding: 8px 20px;
    font-size: 14px;     
   
    cursor: pointer;
    font-weight: 500;
    
}

.works .filtering .active{
    background-color: #fb527a;
    color: white;
}

.works .item-img{
    position: relative;
    margin-top: 20px;
}

.works .item-img:hover .item-img-overlay{
    visibility: visible;
    opacity: 1;
}


.works .item-img-overlay{
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 30px;
    background: rgba(255,255,255,0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s;
    
}



.works .item-img-overlay .icon{
    position: absolute;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    line-height:40px; 
    border-radius: 50%;
    border: 1px solid #1a2373;
    text-align: center;
    font-size: 20px;
    color: #1a2373;
        
    
}

.works .item-img-overlay p{
    color: #1a2373;
    font-weight: bold;
    font-size: 16px;
    
}


.works .item-img-overlay h6{
    
    font-weight: 400;
    font-size: 13px;
    margin-top: 5px;
}

.row.no-gutters [class*=col-]{
    padding: 0;
    margin-top: -21px;
    margin-right: -0.2px;
}

 

预览文件比较大加载需要一些时间:在线演示? 让链接同时具备两种打开方式

获取源码: Project New
下载数:387人次, 文件大小: 13.6 MB, 上传日期: 2020年-11月-26日

公众号回复:gcode  获取解压密码

qrcode_for_gh_6ea2c28a1709_258 (1)

3,989 人查阅

一键获取本网站前端代码设计的所有源码

获取资源构建和完善自己的源码库
源码可以在本地直接演示
同时研究和体验 如何将一些具体的想法的实现过程
源码可以直接嫁接到自己的网站里复用
稍作修改成为自己的作品
下载 (4)

您需要先支付 6元 才能查看此处内容!立即支付

类似文章