1.reset.css的设置
2023-02-18 16:29:40 时间
/* reset css */ *, ::before, ::after{ /*选择所有的标签 */ margin: 0; padding: 0; /*清除移动端默认的 点击高亮效果*/ -webkit-tap-highlight-color: transparent; /*设置所有的都是以边框开始计算宽度 百分比*/ -webkit-box-sizing: border-box;/*兼容*/ box-sizing: border-box; } body{ font-size: 14px; font-family: "MicroSoft YaHei",sans-serif;/*设备默认字体*/ color: #333; } a{ color: #333; text-decoration: none; } a:hover{ text-decoration: none; } ul,ol{ list-style: none; } input{ border: none; outline: none; /*清楚移动端默认的表单样式*/ -webkit-appearance: none; } /* common css */ .f_left{ float: left; } .f_right{ float: right; } .clearfix::before, .clearfix::after{ content: ""; height: 0; line-height: 0; display: block; visibility: hidden; clear: both; } [class^="icon_"]{ background: url("../images/sprites.png") no-repeat; background-size: 200px 200px; } .m_l10{ margin-left: 10px; } .m_r10{ margin-right: 10px; } .m_b10{ margin-bottom: 10px; } .m_t10{ margin-top: 10px; }
相关文章
- DDD理论学习系列(6)-- 实体
- DDD理论学习系列(5)-- 统一建模语言
- 事件总线知多少(1)
- ABP入门系列(18)—— 使用领域服务
- 自动驾驶谈谈『状态模式』
- DDD理论学习系列——案例及目录
- DDD理论学习系列(4)-- 领域模型
- DDD理论学习系列(3)-- 限界上下文
- DDD理论学习系列(2)-- 领域
- DDD理论学习系列(1)-- 通用语言
- 流程业务,各司其职,『责任链模式』
- ABP入门系列(16)——通过webapi与系统进行交互
- 这一次数据说了算,『访问者模式』
- 系列对象,依赖交互,『中介者模式』来帮忙
- ABP入门系列(15)——创建微信公众号模块
- 间接访问对象,非『代理模式』莫属
- 重复构造,打出『原型模式』
- Asp.net web api 知多少
- 关注产出,不关心细节,『建造者模式』
- 固定模板,不同算法,就用『模板方法模式』