Hi,
I want the appearance of the button change when the mouse is over it, what should I do?
I noticed there is onmouseover within the HTML Element, but it seems the styling command is not working in there.
So what should I do?
Thanks in advance for the help.
how to change the appearance of the button with mouse over?
Moderators: Jon, Steve, Ian, Dave
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
-
- Moderator
- Posts: 1342
- Joined: Wed Sep 12, 2007 12:49 pm
You do this with CSS styling using the hover suffix e.g. add a class to your button, say buttonClass, then add a style sheet to the page, form or template something like this:
Code: Select all
.buttonClass
{
background-color: #057fd3;
}
.buttonClass:hover
{
background-color: #0470ba;
}
0 x
-
- Ebase User
- Posts: 305
- Joined: Thu Jul 02, 2015 8:32 am
- Location: Indonesia
Thanks a lot.
Jon wrote:You do this with CSS styling using the hover suffix e.g. add a class to your button, say buttonClass, then add a style sheet to the page, form or template something like this:
Code: Select all
.buttonClass { background-color: #057fd3; } .buttonClass:hover { background-color: #0470ba; }
0 x
Who is online
Users browsing this forum: No registered users and 4 guests