{"category":"web","endpoint":"https://setget.net/v1/tools/css-format","examples":[{"input":{"text":"a{color:red;margin:0 auto}@media (min-width:600px){a,b{color:blue}}"},"output":{"text":"a {\n  color: red;\n  margin: 0 auto;\n}\n\n@media (min-width: 600px) {\n  a, b {\n    color: blue;\n  }\n}"}}],"input_schema":{"additionalProperties":false,"properties":{"indent":{"default":2,"description":"Spaces per indentation level.","maximum":8,"minimum":1,"type":"integer"},"text":{"description":"The CSS to format.","examples":["a{color:red;margin:0 auto}@media (min-width:600px){a,b{color:blue}}"],"type":"string"}},"required":["text"],"type":"object"},"keywords":["css","format","beautify","pretty print","unminify css","indent css","prettify"],"related":["css-minify","html-format","json-format"],"slug":"css-format","summary":"Pretty-print minified or messy CSS with one declaration per line and nested @media blocks indented.","tier":"inline","title":"CSS formatter","url":"https://setget.net/tools/css-format"}
