# xtx-pc-client **Repository Path**: hliushi/xtx-pc-client ## Basic Information - **Project Name**: xtx-pc-client - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-02 - **Last Updated**: 2021-11-15 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README readme.md `图片` - images: 存放网站 固定使用 的图片素材 (不经常更换), 如logo, 样式修饰图片...等 - uploads: 存放网站 非固定使用的图片素材, 如: 商品图片, 宣传图片 `css样式` - base.css: 基础公共样式 - common.css: 该网站中多个网页相同模块的重复样式, 如:头部、底部 - index.css: 首页样式 ![image-20211101215500391](https://gitee.com/hliushi/pic-go_-image/raw/master/img/work/image-20211101215500391.png) #### 基础公共样式 ![image-20211102105023917](https://gitee.com/hliushi/pic-go_-image/raw/master/img/work/image-20211102105023917.png) `base.css` ```css /* 去除常见标签默认的 margin 和 padding */ body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, dl, dt, dd, input { margin: 0; padding: 0; } /* 设置网页统一的字体大小、行高、字体系列相关属性 */ body { font: 16px/1.5 "Helvetica Neue", Helvetica, Arial, "Microsoft Yahei", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif; color: #333; } /* 去除列表默认样式 */ ul, ol { list-style: none; } /* 去除默认的倾斜效果 */ em, i { font-style: normal; } /* 去除a标签默认下划线, 并设置默认文字颜色 */ a { text-decoration: none; color: #333; } /* 设置img的垂直对齐方式为居中对齐, 去除img默认下间隙 */ img { vertical-align: middle; } /* 去除input默认样式 (去除边框、获取焦点的外框线) */ input { border: none; outline: none; color: #333333; } /* 左浮动 */ .fl { float: left; } /* 右浮动 */ .fr { float: right; } /* 双伪元素清除法, 既可以清除 子元素margin-top带来的塌陷问题 和 清除浮动 */ .clearfix::before, .clearfix::after { content: ""; display: table; } .clearfix::after { clear: both; } ``` #### 布局分析 ![image-20211102135905617](https://gitee.com/hliushi/pic-go_-image/raw/master/img/work/image-20211102135905617.png)