2007年12月21日 星期五

cssDoc - Write standardized professional css comments

For everyone familiar with either phpDoc or Javadoc let me introduce you to cssDoc. You can download a first draft of the core team which includes the maker of yaml (yet another multicolumn layout) @ http://cssdoc.net.

This is by far the most evolved attempt at standardizing comments for css. Anyone familiar with both phpDoc or javaDoc can adapt that knowledge directly in 5 mins.

This approach, in one form or another will be adopted by the w3c sometime in the future, I'll bet my ass on that.

/**
* October stylesheet for reinholdweber.com
*
* @section screen
* @author Reinhold Weber
* @version 1.01
* @copyright reinholdweber.com
* @media screen
*
* @link http://www.colourlovers.com/palette/129358/Clownfish_Hiding
* @colordef black #0C0402
* @colordef dark red #591F08
* @colordef dark orange #FE7C00
* @colordef light orange #FD8D00
* @colordef creme #FAF7F2
*
* @todo fix php styleswitcher
*/

沒有留言: