I want to change the shape/style of button during mouse
hover in asp.net. Actually i want to make the button circular during mouse
hover in asp.net.
Change style of button during mouse hover event in asp.net
2100
05-Dec-2014
Anonymous User
06-Dec-2014Create two Images for button. Then implement this css.
Anonymous User
06-Dec-2014Generally, you would do this with the CSS :hover pseudo-class:
a { /* define normal styles here */ }
a:hover { /* define hover styles here */ }
To achieve a circular button, you could use a graphic image. Assuming you had a transparent PNG called circle.png in your images directory, you could do something like this:
You could also set the border radius of the button to be one-half of the button height and width (which should be the same):