CSS3Ps is a free, cloud based photoshop plugin that converts photoshop layers to CSS3. It works amazingly well! Much better than Photoshop's built in function. Try it out. Works with Photoshop CS3 and higher. It gives you SCSS/SASS options as well.
You can get the free plugin here: http://css3ps.com