कैसे इस्तेमाल करें
- अपनी CSS paste करें।
- Rules restructure करना और license comments रखना चुनें।
- Minify दबाएँ या Ctrl+Enter (Mac पर ⌘+Enter) करें।
- Minified CSS copy या download करें।
विकल्पों की जानकारी
- Merge और restructure rules
- समान selector या सुरक्षित रूप से समान declarations वाली rules मिलाता है। बंद करने पर केवल whitespace हटेगा और values छोटी होंगी।
- License comments रखें
- /*! से शुरू होने वाले comments रखता है, जो license notices के लिए convention है।
उदाहरण
a { color: #ff0000; }
/* note */
a { margin: 0px; }
इसका minified रूप a{color:red;margin:0} है।
अक्सर पूछे जाने वाले सवाल
क्या छोटा किया जाता है?
Colors (#ff0000 → red, #ffffff → #fff), zero units (0px → 0), extra semicolons/quotes और whitespace। Restructuring में duplicate rules merge होती हैं।
क्या restructuring page का look बदल सकती है?
CSSO declarations तभी move करता है जब cascade result वही रहे। Unusual hacks हों तो result compare करें या restructuring बंद रखें।
क्या मेरा code upload होता है?
नहीं। Minification ब्राउज़र में चलती है।
प्राइवेसी
यह टूल पूरी तरह आपके ब्राउज़र में चलता है। आपकी फ़ाइलें और टेक्स्ट आपके डिवाइस पर ही प्रोसेस होते हैं और हमारे सर्वर पर कभी अपलोड नहीं होते।