NJ sneaked at Adobe MAX 2013 an extension for Brackets that extracts CSS styles from PSDs. In the lower panel you can see a PSD; in the upper panel you can see the CSS code. This code is grabbed via auto-complete from the PSD below. Brackets just grabs the styles for a selected object on the PSD, including position, text format, gradients, colors, and more.
Watch the video: