XIYUETA.COM
源代码:
美化(
B
eutify)
净化(
P
urify)
压缩(
P
ack)
加范围(
S
copify)
/* 美化:格式化代码,使之容易阅读 */ /* 净化:将代码单行化,并去除注释 */ /* 整理:按照一定的顺序,重新排列css的属性 */ /* 优化:将css的长属性值优化为简写的形式 */ /* 压缩:将代码最小化,加快加载速度 */ /* 如果有用,请别忘了推荐给你的朋友: */ /* css在线美化、压缩:https://tool.lu/css */ /* v1.1 2012-05-11 */ /* v1.2 2015-04-30 */ /* v1.3 2015-06-01 修复 css 压缩的 bug */ /* v1.4 2015-07-31 增加 css 优化 功能 */ /* v1.5 2016-06-18 增加 px转rem 功能 */ /* v1.6 2017-08-03 增加 加范围功能 */ /* v1.7 2018-12-30 增加 px转rpx 功能 */ .css3 { box-shadow: 0 0; width: calc(100% + 2em); font-size: 24px; } /* 以下是演示代码 */ body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td { margin: 0; padding: 0; } fieldset, img { border: 0; } /* remember to define focus styles! */ :focus { outline: 0; } address, ctoolion, cite, code, dfn, em, strong, th, var, optgroup { font-style: normal; font-weight: normal; } h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; } abbr, acronym { border: 0; font-variant: normal; } input, button, textarea, select, optgroup, option { font-family: inherit; font-size: inherit; font-style: inherit; font-weight: inherit; } code, kbd, samp, tt { font-size: 100%; } /*@purpose To enable resizing for IE */ /*@branch For IE6-Win, IE7-Win */ input, button, textarea, select { *font-size: 100%; } body { line-height: 1.5; } ol, ul { list-style: none; } /* tables still need 'cellspacing="0"' in the markup */ table { border-collapse: collapse; border-spacing: 0; } ctoolion, th { text-align: left; } sup, sub { font-size: 100%; vertical-align: baseline; } /* remember to highlight anchors and inserts somehow! */ :link, :visited , ins { text-decoration: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
下载结果