常用样式封装 common.css
/* 色彩类 */ .red{ color:#f00; } /* 字体类 */ .fz-8{ font-size: 8px; } .fz-10{ font-size: 10px; } .fz-14{ font-size: 14px; } .fz-20{ font-size: 20px; } /* 布局类 */ .dn{ display: none; } .db{ display: block; } .dib{ display: inline-block; } /* 浮动类 */ .fl { float: left; } .fr { float: right; } /* 清除浮动 */ .clearfix:before, .clearfix:after { content: ""; display: block; clear: both; } .clearfix { zoom: 1; } /* 间距类 */ .mb-50 { margin-bottom: 50px; } .mb-40 { margin-bottom: 50px; } .mb-30 { margin-bottom: 20px; } .mb-20 { margin-bottom: 20px; } .mb-15 { margin-bottom: 15px; } .mb-10 { margin-bottom: 10px; } .mb-5 { margin-bottom: 5px; } .mt-10{ margin-top: 10px; } .mt-20{ margin-top: 20px; } .mt-30{ margin-top: 30px; } .mt-40{ margin-top: 40px; } .mt-50{ margin-top: 50px; } .mr-10{ margin-right: 10px; } .mr-20{ margin-right: 20px; } .mr-30{ margin-right: 30px; } .ml-10{ margin-left: 10px; } .ml-20{ margin-left: 20px; } .ml-30{ margin-left: 30px; } .ml-50{ margin-left: 50px; } .ml-100{ margin-left: 100px; } .ml-130{ margin-left: 130px; }
分类:
css
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 三行代码完成国际化适配,妙~啊~
· .NET Core 中如何实现缓存的预热?
2019-09-29 【audition CC】将3分钟的歌曲无缝延长到15分钟
2019-09-29 【ios bug解决】 输入框聚焦时光标不显示