Failu krātuve :: csstidy/
Name Last modified Size Description
Parent Directory -
about.txt 2010-10-08 02:02 1.6K Text, ASCII format
adrese.txt 2010-10-08 02:02 32 Addresses, URL
csstidy-1.3-exe.zip 2007-09-11 11:58 264K Compressed archive
csstidy-1.3-php.zip 2007-09-11 17:33 116K Compressed archive
csstidy-source-1.4.zip 2007-09-11 11:58 49K Compressed archive
CSSTidy is an opensource CSS parser and optimiser. It is available as executeable file (available for Windows, Linux and OSX) which can be controlled per command line and as PHP script (both with almost the same functionality).
In opposite to most other CSS parsers, no regular expressions are used and thus CSSTidy has full CSS2 support and a higher reliability.
CSSTidy - for users
If you simply want to optimise your CSS code, go to the online version of CSSTidy. This is the fastest and easiest way to optimise your code.
CSSTidy (command line)
This is the syntax for CSSTidy:
csstidy input_filename [ --preserve_css=[false|true] | --remove_bslash=[true|false] | --compress_colors=[true|false] --lowercase_s=[false|true] | --timestamp=[false|true] | --optimise_shorthands=[1|2|0] | --remove_last_;=[false|true] | --sort_properties=[false|true] | --sort_selectors=[false|true] | --merge_selectors=[2|1|0] | --compress_font-weight=[true|false] | --allow_html_in_templates=[true|false] | --silent==[false|true] | --case_properties=[0|1|2] | --template=[default | filename | low | high | highest] | output_filename ]*
So to optimise a CSS file and send the output to screen use
csstidy mycssfile.css
If you want to save the output to a file, use
csstidy mycssfile.css myoutputfile.css
If you use the filename "-", CSSTidy reads from stdin.
To change settings, you have to add "--thesettingyouwanttochange=true or false" after the input file. If "true" is first in the syntax description, this indicates that "true" is the default value (the same applies to false). Example:
csstidy mycssfile.css --remove_last_;=true myoutputfile.css
Lapas adrese: priede.bf.lu.lv/ftp/pub/Internets/HTML_lapu_izveides_riiki/html_riiki/csstidy
|