弄了兩天左右,把這個經典案例做出來了。 下麵是成品圖: html代碼: <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>雲道官網</title> <link rel="stylesheet" href="css/style. ...
弄了兩天左右,把這個經典案例做出來了。
下麵是成品圖:
html代碼:
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title>雲道官網</title> <link rel="stylesheet" href="css/style.css"/> </head> <body> <!-- 頂部導航欄 --> <div class="top"> <div class="top-inner"> <a href="#"><img src="img/logo.png" /></a> <ul class="nav"> <li><a href="#">首頁</a></li> <li><a href="#">云云商城</a></li> <li><a href="#">智慧門店</a></li> <li><a href="#">營銷平臺</a></li> <li><a href="#">媒體聯盟</a></li> <li><a href="#">關於雲道</a></li> </ul> </div> </div> <!-- banner --> <div class="banner"> <a href="#"><img src="img/banner.png" ></a> </div> <!-- 我們的服務模塊 --> <div class="service"> <div class="service-hd"> <h3><img src="img/ser.png" ></h3> <p>shopcmd雲道,國內領先的獨立電商解決方案及全渠道營銷平臺。完整的產品體系,簡約的系統,個性化前端,全覆蓋多渠道營銷體系... 我們致力於打造一個服務於品牌商城/獨立電商的完整生態,讓企業的獨立電商之路變得更簡單,也更有價值!</p> </div> <div class="service-bd"> <ul> <li> <img src="img/icon1.png" > <h3>我是賣家</h3> <p>shopcmd雲電商解決方案,我們不僅僅是領先的獨立商城建站系統。我們 從互聯網時代品牌建設和 品牌營銷的全新視角,賦予了品牌商城及獨立電商更 大的生存空間和存在價值!</p> <a href="#">我要建站</a> </li> <li class="yingxiao"> <img src="img/icon2.png" > <h3>我要營銷</h3> <p>雲道不斷完善的營銷系統,聯合優質媒體資源,集成常用的網路營銷模式及終端,以最簡單的產品形態,幫助獨立商城實現店鋪及商品信息在全網的快速分銷。</p> <a href="#">我要推廣</a> </li> <li> <img src="img/icon3.png" > <h3>媒體合作</h3> <p>真正的全民營銷時代,無需學習,無需維護。通過您的網站、朋友圈、媒體流量、移動展現、媒體解決方案獲取收益。我們致力於實現合作媒體流量價值的最大化。</p> <a href="#">我要合作</a> </li> </ul> </div> </div> <!-- 經典案例模塊 --> <div class="case"> <div class="service-hd"> <h3><img src="img/case.png" ></h3> </div> <div class="case-select"> <ul> <li> <img src="img/serv.jpg" > <p>幫助中小企業快速開啟阿薩德打撒電子商務</p> <a href="#"><div class="mask"></div></a> </li> <li class="li_2"> <img src="img/download.png" > <p>幫助中小企業快速開啟阿薩德打撒電子商務</p> <a href="#"><div class="mask"></div></a> </li> <li> <img src="img/pro.png" > <p>幫助中小企業快速開啟阿薩德打撒電子商務</p> <a href="#"><div class="mask"></div></a> </li> </ul> <a href="#" class="case-left"><img src="img/jt_l.png" ></a> <a href="#" class="case-right"><img src="img/jt_r.png" ></a> </div> </div> <!-- 合作媒體模塊 --> <div class="media"> <div class="service-hd"> <h3><img src="img/media.png" ></h3> </div> <div class="media_bd"> <ul> <li><a href="#"><div class="tb"></div></a></li> <li><a href="#"><img src="img/jd.png" alt=""></a></li> <li><a href="#"><img src="img/sp.png" alt=""></a></li> <li><a href="#"><img src="img/al.png" alt=""></a></li> <li><a href="#"><img src="img/zk.png" alt=""></a></li> <li><a href="#"><div class="tb"></div></a></li> <li><a href="#"><img src="img/jd.png" alt=""></a></li> <li><a href="#"><img src="img/sp.png" alt=""></a></li> <li><a href="#"><img src="img/al.png" alt=""></a></li> <li><a href="#"><img src="img/zk.png" alt=""></a></li> <li><a href="#"><div class="tb"></div></a></li> <li><a href="#"><img src="img/jd.png" alt=""></a></li> <li><a href="#"><img src="img/sp.png" alt=""></a></li> <li><a href="#"><img src="img/al.png" alt=""></a></li> <li><a href="#"><img src="img/zk.png" alt=""></a></li> </ul> </div> </div> <!-- 底部網站信息 --> <div class="footer"> <div class="footer_hd"> <a href="#">shopcmd </a> <a href="#">首頁 </a> <a href="#">官網雲商城 </a> <a href="#">智慧門店 </a> <a href="#">營銷平臺 </a> <a href="#">媒體聯盟 </a> <a id="last" href="#">關於我們 </a> </div> <div class="footer_bd"> <p>@Copyright 2015 蘇州海雲網路科技有限公司版權所有 | 蘇ICP備15038170號 -3</p> </div> </div> </body> </html>
css代碼:
*{ padding: 0px; margin: 0px; } a{ color: black; text-decoration: none; } body{ background-color: #fafafa; } li{ list-style: none; } .top{ background-color: #FFFFFF; } .top a:hover{ color: #2288f6; } .nav{ float: right; display: inline-block; } .nav li{ display: inline-block; margin: 0 20px; } .nav li a{ line-height: 100px; } .top-inner{ width: 1200px; height: 100px; margin: 0 auto; } .banner { text-align: center; } .service{ width: 1005px; margin:0 auto; margin-top:74px; } .service-hd{ border-top:1px solid #ccc; margin: 52px auto; width: 1005px; } .service-hd img{ width: 167px; height: 45px; } .service-hd h3{ width: 167px; height: 44px; margin:0 auto; background-color: #fff ; margin-top:-22px; } .service-hd p{ margin:0 auto; color:#666; text-align:center; font-size:12px; margin:15px 87.5px 0px; } .yingxiao{ margin: 0 20px; } .service-bd{ overflow: hidden; margin-top:40px; } .service-bd li{ background-color: white; width: 318px; height: 508px; list-style: none; float: left; border: 1px solid #e7e8e9; } .service-bd h3{ text-align: center; font-weight: normal; height: 40px; } .service-bd img{ margin: 40px 35px; width: 248px; height: 132px; } .service-bd p{ margin: 0 43px; font-size: 12px; color: #666; line-height: 25px; height: 123px; } .service-bd a{ display: block; width: 148px; height: 38px ; border: 1px solid #FF9412; margin: 0 auto; text-align: center; line-height: 38px; color: #FF9412; font-size: 12px; border-radius: 5px; margin-top: 20px; } .service-bd a:hover{ background-color: #FF9412; color: white; } .case-select{ margin: 80px auto 0; width: 1055px; position: relative; } .case{ background-color: white; margin: 75px 0; padding:30px 0 40px; } .case-select li{ float: left; width: 322px; height: 211px; position: relative; } .case-select li img{ width: 322px; height: 211px; } .case-select li p{ width: 100%; position: absolute; bottom: 0px; line-height: 45px; background-color: rgba(6,6,6,0.3); color: #FFFFFF; text-align: center; font-size: 12px; } .case-left,.case-right{ float: left; background-color: rgba(6,6,6,0.1) ; width: 60px; height: 60px; border-radius: 100%; text-align: center; top: 38%; position: absolute; } .case-left{ left: -78px; } .case-right{ right: -78px; } .case-select a img{ height: 50%; margin: 25% 0 0 0 ; } .case-left:hover,.case-right:hover{ background-color: rgba(86,169,239,0.8); } li:hover .mask{ background: rgba(6,6,6,0.5) url(../img/fdj.png) center no-repeat; height: 100%; width: 100%; position: absolute; bottom: 0; } .li:hover>.mask{ } .li_2{ margin:0 40px ; } .case ul{ overflow: hidden; } .media{ width: 1100px; margin: 0 auto; } .media_bd ul{ width: 1055px; } .media_bd{ overflow: hidden; width: 1053px; height: 240px; } .media_bd a{ text-align: center; } .media_bd li{ float: left; border-right:1px #CCCCCC dashed ; border-bottom:1px #ccc dashed; padding-top: 20px; width: 210px; height: 60px; text-align: center; } .tb{ display: inline-block; width: 104px; height: 41px; background: url(../img/tb.png) no-repeat center; } .tb:hover{ background: url(../img/tb2.png) no-repeat center; } .footer{ margin-top: 100px; } .footer{ height: 160px; background-color: #232425; width: 100%; } .footer_hd{ padding-top: 40px; margin: 0 auto; text-align: center; } .footer_hd a{ color: white; font-size: 14px; border-right: white solid 1px; margin-right: 10px; padding-right: 10px; } .footer_bd{ margin: 0 auto; color: #888; text-align: center; margin-top: 30px; } .footer_hd a:hover{ color: #2288f6; text-decoration: underline; } #last{ border: none; }
html+css+圖片素材:
https://wuyong.lanzous.com/ibxasna
密碼:wuyong