With CSS3 photoshop plugin you can convert your layers to CSS3.
Example CSS code generated:
CSS Hat 2
Using CSS over images gives front-end developers many benefits. However it requires a ton of hand-coding to reflect all the layer styles into the code. CSS Hat prevents this pain.
Select any Photoshop Layer and generate Colors, gradients, sizes, borders… All instantly in CSS.