Tuesday, January 8, 2013

Creating a button using purely CSS3


Step 1: The HTML

…this is a simple anchor tag with an assigned class name of “button”.

Step 2: The CSS

I have labelled the CSS code in sections so you can clearly see what each part of the code does. Feel free to have a play around with it, change the colours or the radius on the corners for example.

0 comments:

Post a Comment