# cssnano **Repository Path**: mirrors_opencollective/cssnano ## Basic Information - **Project Name**: cssnano - **Description**: A modular minifier, built on top of the PostCSS ecosystem. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-09-25 - **Last Updated**: 2026-05-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README


cssnano


> A modular minifier, built on top of the [PostCSS](https://github.com/postcss/postcss) ecosystem. [![NPM version](https://img.shields.io/npm/v/cssnano.svg)](https://www.npmjs.org/package/cssnano) [![Build Status](https://dev.azure.com/cssnano/cssnano/_apis/build/status/cssnano.cssnano?branchName=master)](https://dev.azure.com/cssnano/cssnano/_build/latest?definitionId=3&branchName=master) [![codecov](https://codecov.io/gh/cssnano/cssnano/branch/master/graph/badge.svg)](https://codecov.io/gh/cssnano/cssnano) [![Gitter](https://img.shields.io/badge/Gitter-Join_the_PostCSS_chat-brightgreen.svg)](https://gitter.im/postcss/postcss) cssnano is a modern, modular compression tool written on top of the PostCSS ecosystem, which allows us to use a lot of powerful features in order to compact CSS appropriately. Our preset system allow you to load cssnano in a different configuration depending on your needs; the default preset performs safe transforms, whereas the advanced preset performs more aggressive transforms that are safe only when your site meets the requirements; but regardless of the preset you choose, we handle more than whitespace transforms! Optimisations range from compressing colors & removing comments, to discarding overridden at-rules, normalising `unicode-range` descriptors, even mangling gradient parameters for a smaller output value! In addition, where it's made sense for a transform, we've added [Browserslist](https://github.com/ai/browserslist) to provide different output depending on the browsers that you support. For further details check out the [website](http://cssnano.co/): - [Installation guide for your build process](http://cssnano.co/guides/getting-started). - [Full list of optimisations](http://cssnano.co/optimisations/). You can now [try cssnano online](https://cssnano.co/playground/)! ## Contributing See [CONTRIBUTING.md](CONTRIBUTING.md). ## License MIT © [Ben Briggs](http://beneb.info)