— Maximilian Schoening (@mschoening) March 16, 2012
Here’s Maximilian Schoening demonstrating new features of a Mac app called Sketch (specifically v2). At first it looks just like any other image editor but a magic option appears when you right-click any element you’ve designed, Copy CSS Attributes. It does exactly what you’re expecting and probably hoping for. You’ll probably want to adjust the code to fit in with the way you work but it certainly looks like it can have a positive effect on productivity.