CSSmizer is a command-line tool I created to help optimize my CSS files and streamline my workflow. It reduces file sizes and improves loading speeds, making my daily web development tasks easier.
- Combine multiple CSS files into one optimized file.
- Minify CSS by removing unnecessary spaces and comments.
- Fast processing to quickly get the optimized output.
- Python 3.x
rich
library
-
Clone the repository:
git clone https://github.com/xPr0mp7x/CSSmizer.git
-
Navigate to the project directory:
cd CSSmizer
-
Install the required dependencies:
pip install -r requirements.txt
Run CSSmizer from the command line with one or more CSS files as arguments. The optimized files will be saved in the same directory.
To optimize test1.css
, run:
python cssmizer.py path/to/test1.css
To optimize and combine test1.css
and test2.css
, run:
python cssmizer.py path/to/test1.css path/to/test2.css
You can find example CSS files in the repository.
If you have suggestions for improvements or find any issues, feel free to open an issue or submit a pull request! Your contributions are welcome and appreciated.
I developed this tool to simplify my daily CSS workflow. If you find it helpful, please give it a star...!