4 个仓库
Tools designed to reduce the size and improve the efficiency of CSS stylesheets.
Distinct from CSS Optimization: The candidates focus on swapping implementatons or specific value optimizations; a general optimizer category is needed.
Explore 4 awesome GitHub repositories matching web development · CSS Optimizers. Refine with filters or upvote what's useful.
clean-css 是一个 Node.js CSS 优化器,具有压缩、打包和源映射生成功能。它通过删除空格和注释,同时优化颜色和单位来减小样式表文件大小,从而提高页面加载速度。 该工具具有插件驱动的流水线,允许进行自定义优化转换,并通过基于标记的排除项保留特定的代码片段。它包括浏览器兼容性定位,以确保优化后的样式在指定的浏览器版本中保持功能正常。 该项目提供将多个样式表打包成单个输出、异步内联远程资源以及重置相对资产 URL 的功能。它还生成源映射,将优化后的样式表链接回其原始源代码。
Provides a comprehensive suite of tools for shrinking and optimizing CSS files to improve page load times.
Clean-CSS 是一个 Node.js CSS 优化器,兼具压缩、打包和后处理功能。它旨在通过移除空格、注释和冗余代码来减小样式表的总体积。 该项目提供了一个用于应用自定义转换和浏览器兼容性调整的流水线。它允许通过插件系统和自定义优化插件,以编程方式修改 CSS 规则和值。 该工具涵盖了广泛的资产优化功能,包括样式表打包、import 规则内联和相对 URL 重定向。它还支持用于调试的 source map 生成,以及用于美化的可自定义输出格式。
Provides a JavaScript-based engine to optimize CSS properties and selectors to minimize overall stylesheet size.
inuit.css is a Sass-based CSS framework and design system tool focused on building scalable user interfaces. It serves as a modular preprocessor system that utilizes BEM architecture and OOCSS patterns to structure stylesheets into reusable components and layout abstractions. The framework distinguishes itself by separating structural layout logic from visual skinning, allowing for the creation of design-agnostic layout objects. It employs a configuration-driven build process where developers can use feature switches and variable overrides to inject design tokens and selectively include only
Optimizes production CSS by using feature switches to include only the required layout modules.
csso is a CSS minifier and optimizer that reduces stylesheet file sizes through structural analysis and algebraic transformations. It functions as an abstract syntax tree processor, converting styles into a structured tree to perform deep analysis and semantic-preserving code transformations while maintaining the original visual presentation. The project distinguishes itself through usage-aware optimization, analyzing external HTML markup and class identifiers to prune unused styles and reorganize rules based on actual document usage. It also performs structural refactoring by identifying and
Implements tools to reduce the size and improve the overall efficiency of CSS stylesheets.