摘要: focus图片的html方式——放在li里面 ####尽量少用100% 有讲究hhh ####父子两者都有margin-top而造成的盒子塌陷情况 ####轮播图是用js控制ul ###html <div class="w"> <div class="main"> <!-- focus模块 --> 阅读全文
posted @ 2020-12-21 21:57 ice猫猫3 阅读(144) 评论(0) 推荐(0) 编辑
摘要: ####一些类名不用写父亲的类 ####小竖线的巧妙间距 {{uploading-image-361111.png(uploading...)}} ###html <div class="mod_copyright"> <div class="links"> <a href="#">关于我们</a> 阅读全文
posted @ 2020-12-21 20:58 ice猫猫3 阅读(118) 评论(0) 推荐(0) 编辑
摘要: ####大小盒子有间隔,通常给大盒子padding,不是小盒子给margin ####dl不管它什么元素,反正要float的 ####最后一栏一个dd,该用img地方就用喽 ####最后一个dl妙啊 ###html <div class="mod_help"> <dl class="dl"> <dt 阅读全文
posted @ 2020-12-21 17:35 ice猫猫3 阅读(92) 评论(0) 推荐(0) 编辑
摘要: #####把②剪切,达到①的状态后,cmd+v即可 #####dd6>a得到的① dd6>a 阅读全文
posted @ 2020-12-21 17:19 ice猫猫3 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 块 阅读全文
posted @ 2020-12-21 17:10 ice猫猫3 阅读(92) 评论(0) 推荐(0) 编辑
摘要: ####外边距塌陷问题:尽量避免子盒子margin-top的使用 ####盒子模型更喜欢怪异盒子模型,不然总是掉到下面去 ###html <footer class="footer"> <div class="w"> <div class="mod_service"> <ul> <li> <h5>< 阅读全文
posted @ 2020-12-21 16:50 ice猫猫3 阅读(73) 评论(0) 推荐(0) 编辑
摘要: 大小盒子有间隔,通常给大盒子padding,不是小盒子给margin 父盒子margin-top:5px 子盒子margin-top:10px 实际呈现的是 父盒子margin-top:10px(两者中的较大值) 父子盒子的上边距紧挨在一起 #####出现塌陷的原因: 子盒子margin-top(子 阅读全文
posted @ 2020-12-21 13:24 ice猫猫3 阅读(72) 评论(0) 推荐(0) 编辑
摘要: display: none; 阅读全文
posted @ 2020-12-21 11:21 ice猫猫3 阅读(60) 评论(0) 推荐(0) 编辑
摘要: ####字数不一样多不给width,用_____; ####布局优先考虑使得链接变大 ###html <div class="navitems"> <ul> <li><a href="#">服装城</a></li> <li><a href="#">服装</a></li> <li><a href="# 阅读全文
posted @ 2020-12-21 11:09 ice猫猫3 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 最外头盒子没有给宽度,别人定位没有依据-->漂/掉下去 阅读全文
posted @ 2020-12-21 10:53 ice猫猫3 阅读(104) 评论(0) 推荐(0) 编辑
摘要: ####dropdown和dd是一样大的 ####留个左侧红竖线用什么m?p? ####li和a,可以对谁指定color ####字体图标 必须包含哪两个部分 ###html /*dropdown和dt是一样大的*/ <div class="dropdown"> <dt class="dt">全部商 阅读全文
posted @ 2020-12-21 10:41 ice猫猫3 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 每个模块都要给高度 是不是没有占位子(浮动,固定,绝对不占位子;只有相对定位占位子) .header { position: relative; height: 105px; } 阅读全文
posted @ 2020-12-21 09:44 ice猫猫3 阅读(55) 评论(0) 推荐(0) 编辑
摘要: ####盒子随内容变大 ###html <div class="shopcar iconfont icon-gouwuche icon-zhankai1"> 我的购物车 <i class="count">8000000</i> </div> ###common.css .shopcar { posi 阅读全文
posted @ 2020-12-21 00:06 ice猫猫3 阅读(70) 评论(0) 推荐(0) 编辑