css可修饰的9个属性
Code “prettifiers” are the opposite to “minifiers”. The latter are applications that compress web site code (HTML, CSS and JavaScript) to the smallest possible size by removing spaces, line breaks, and comments. A smaller file size means faster loading times for web pages; every saved byte makes a difference. You’ll find minified code used by most high-traffic websites (view the source code of the Google home page for an example) and frameworks; some CMS’s also minify code by default.
代码“前缀”与“前缀”相反。 后者是通过删除空格,换行符和注释将网站代码(HTML,CSS和JavaScript)压缩到最小尺寸的应用程序。 较小的文件大小意味着更快的网页加载时间; 每个保存的字节都不同。 您会找到大多数人流量大的网站(例如,查看Google主页的源代码)和框架所使用的精简代码; 默认情况下,某些CMS还会缩小代码。
While completely readable by machines, minified code causes headaches when interpreted by human beings; thus, prettifiers, or “beautifiers”, convert the code back into a human-readable format.
最小化的代码虽然可以被机器完全读取,但是当被人解释时会引起头痛。 因此,美化词或“美化词”会将代码转换回人类可读的格式。
takes CSS code (either directly via copy-and-paste, as a file upload, or a URL) and cleans it up according to rules you determine; the default ruleset works well for most code you’ll encounter.ProCSSor获取CSS代码(直接通过复制和粘贴,作为文件上传或URL),并根据您确定的规则进行清理; 默认规则集适用于您将遇到的大多数代码。
is similar to ProCSSor, with fewer rules but the ability to sort the converted CSS code alphabetically by selector and/or property.Styleneat与ProCSSor相似,规则更少,但是能够通过选择器和/或属性按字母顺序对转换后CSS代码进行排序。
is an online tool based on the venerable CSSTidy application, with the added option to compress and optimize the code at the same time; converted code can be given a balance between readability and file size.代码美化器是基于古老的CSSTidy应用程序的在线工具,具有添加的选项,可以同时压缩和优化代码。 转换后的代码可以在可读性和文件大小之间取得平衡。
is a bookmarklet application for your browser which recognizes a wider variety of languages. The app is intended to do on-screen conversions of poorly-formatted code examples on web pages.Syntaclet是适用于您的浏览器的书签应用程序,可识别多种语言。 该应用程序旨在对网页上格式较差的代码示例进行屏幕转换。
css可修饰的9个属性