dongxiuling 2 سال پیش
والد
کامیت
a32cf7f7c9
3فایلهای تغییر یافته به همراه37 افزوده شده و 0 حذف شده
  1. 24 0
      3_项目/css/index.css
  2. BIN
      3_项目/images/logo.png
  3. 13 0
      3_项目/index.html

+ 24 - 0
3_项目/css/index.css

@@ -35,4 +35,28 @@
     color:#888888 ;
     line-height: 35px;
 
+}
+.header{
+    height: 151px;
+    background: red;
+    width:1199px;
+    margin:0 auto;
+}
+.logo-img{
+    margin-top:44px;
+    float: left;
+    margin-right:123px;
+}
+.search-box{
+    width: 540px;
+    height:151px;
+    background: #0f0;
+    float: left;
+    margin-right:52px;
+}
+.cart-box{
+    float: left;
+    width:100px;
+    height:151px;
+    background: #00f;
 }

BIN
3_项目/images/logo.png


+ 13 - 0
3_项目/index.html

@@ -35,6 +35,19 @@
         </div>
     </div>
 
+    <!-- 头部 header -->
+    <div class="header">
+        <!-- logo -->
+            <img class="logo-img" src="images/logo.png" alt="">
+        <!-- 搜索 -->
+            <div class="search-box">
+
+                
+            </div>
+        <!-- 购物车 -->
+            <div class="cart-box">购物车</div>
+    </div>
+