CSS Minifier Wget Example
Check the example on how to use
wget
to minify a CSS hardcoded string and output to stdout:wget -q --post-data='input=p { color : red; }' -O - https://www.toptal.com/developers/cssminifier/api/raw
Output:
p{color:red}
wget -q --post-data='input=p { color : red; }' -O - https://www.toptal.com/developers/cssminifier/api/raw
Output:
p{color:red}