Step 1:
Simply Create a DIV using >div< tag and give an id or class name.
Step 2:
Now just create a simple css style code that points out your button's style.
Step 3:
Also create another css style that sets the style of button during Mouse Hover.
Step 4:
Now you can define your own styles one by one to each of them.
Step 5:
To Create a border, Use the following code:
border:style top right bottom left color;
where,
style can be one of the following: solid, dotted, dashed
color is color name or color-code
remaining 4 are thickness of border in 4 sides.
Step 6:
Click Me!!
No comments:
Post a Comment
Thank you for commenting. Please keep visiting.