Formattatore e abbellitore di CSS
Formatta il CSS minificato con rientri, interruzioni di riga e spaziatura adeguati.
Come usare questo strumento
- 1
Paste your minified or unformatted CSS into the text box.
- 2
Read the formatted result that appears instantly in the output panel below.
- 3
Select the output text and copy it (Ctrl/Cmd+C) into your stylesheet or editor.
- 4
Tweak the input and the output re-formats live as you type.
Che cos'è il Formattatore e abbellitore di CSS?
Il CSS minificato è una singola riga con tutti gli spazi vuoti rimossi. Questo strumento ripristina la leggibilità: ogni proprietà sulla propria riga, con rientro all'interno della parentesi graffa e una riga vuota tra le regole. L'output è funzionalmente identico, solo più facile da leggere o modificare.
Casi d'uso comuni
Un-minifying a production .css file you pulled from a CDN so you can read what a rule actually does.
Cleaning up CSS that was pasted as a single line out of browser DevTools or a build artifact.
Tidying inconsistent indentation in a hand-edited stylesheet before committing it to version control.
Making a vendor or third-party widget stylesheet legible enough to override specific properties.
Preparing a readable CSS snippet to paste into a blog post, tutorial, or Stack Overflow answer.
Quickly inspecting the structure of an unfamiliar stylesheet to find where a selector is defined.
Domande frequenti
Conserva i commenti?▼
Strumenti correlati
Decodificatore di JWT
Decodifica i JSON Web Token (JWT) all'istante. Viene eseguito nel suo browser: i token non lasciano mai il suo dispositivo, quindi è sicuro usarlo con segreti di produzione.
Formattatore e validatore di JSON
Formatta, valida e minifica JSON online. Funziona interamente nel suo browser: i suoi dati non lasciano mai il suo dispositivo.
Formattatore di XML
Formatta e abbellisce i documenti XML. Utile per SOAP, sitemap, feed RSS e file di configurazione.
Codificatore e decodificatore Base64
Codifica le stringhe in Base64 o decodifica il Base64 in testo. Rispetta la sua privacy: viene eseguito nel suo browser.
Codificatore e decodificatore di URL
Converte il testo in codifica sicura per URL (codifica percentuale) e viceversa. Utile per stringhe di query, reindirizzamenti e flussi OAuth.
Codificatore e decodificatore di entità HTML
Converte i caratteri speciali in entità HTML (&, <, ecc.) e viceversa. Utile per incorporare testo in HTML in modo sicuro.