Skip to content

LenaYork/CSSqueezy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CSSqueezy

A simple web tool to convert CSS code between regular and bundled formats.


🚀 Features

  • Bundle CSS – Convert standard CSS into a minified "bundled" format (single line).
  • Unbundle CSS – Revert bundled CSS back to a readable, expanded format.
  • No validation – Pure formatting, no syntax checks (handles any input as-is).
  • Hotkeys – Press Ctrl+Enter to quickly transform code.
  • Persistent state – Your input/output survives page refreshes (auto-saved in localStorage).
  • Mobile-friendly – Works on phones, tablets, and desktops.

🛠️ Usage

  1. Paste CSS into the input area.
  2. Click:
    • "Squeeze CSS" (Ctrl+Enter) → Minified one-line format.
    • "Beautify CSS" (Ctrl+Enter) → Expanded human-readable CSS.
  3. Copy the result with the "Copy" button.

🔧 Tech Stack

  • JavaScript
  • CSS3
  • HTML5

🌐 Live Demo

🔗 GitHub Pages Link

Note: This tool doesn’t validate CSS syntax—it only reformats text!


🎯 Why CSSqueezy?

For developers who need quick conversions between bundled (e.g., build output) and unbundled CSS during debugging or asset optimization.


📜 License

MIT – Free to use, modify, and distribute.