摘要: ####多者并列用li,再指定 这部分的li为float left; 【电商1】中使用过同样的手法 ###html <div class="hotwords"> <ul> <li><a href="#" class="style_red">优惠购首发</a></li> <li><a href="#" 阅读全文
posted @ 2020-12-20 22:05 ice猫猫3 阅读(90) 评论(0) 推荐(0) 编辑
摘要: ####小盒子先定位 ####placeholder和padding-left ####因为只有一个.search,前面就不用写别的父级元素了“header” ###html <!-- search模块 --> <div class="search"> <input type="search" pl 阅读全文
posted @ 2020-12-20 21:43 ice猫猫3 阅读(63) 评论(0) 推荐(0) 编辑
摘要: ####logo中不显示字的2种方法 ####header需要加类名header ####logo中a中的内容 ####块级元素宽度的继承性 ###html <header class="header w"> <!-- 需要加类名header--> <div class="logo"> <h1><! 阅读全文
posted @ 2020-12-20 21:03 ice猫猫3 阅读(141) 评论(0) 推荐(0) 编辑
摘要: ####首先确定大小(长宽高height-行高lineHight,text-align:center),颜色(bgc,color,border),定位 ####多者并列用li,再指定 这部分的li为float left ####section使用,float不继承 ###html <section 阅读全文
posted @ 2020-12-20 20:33 ice猫猫3 阅读(471) 评论(0) 推荐(0) 编辑