Archive

Posts Tagged ‘class’

Change class onMouseover

June 23rd, 2009 wiley No comments

How to change CSS class onMouseOver event handler:
Create two clases for normal button and for hover button.

One for normal button example:

.button{
  -moz-border-radius: 3px 3px 3px 3px;
  border: 3px double #a9a9a9;
  cursor: pointer;
}

One for hover button:

.button:hover{
  background: #f5f5dc;
}

Second class change background color on button.


Unique visitors to post: 6

Categories: CSS, CSS Tags: , , ,
Google Analytics integration offered by Wordpress Google Analytics Plugin