Hi Jonnie,
The roller effect you described can also be achieved with CSS pseudo-classes, :hover and :active:
The easiest way to set this on an element:
- select the taparea (or any element you want to change)
- open CSS panel
- click on the [+] button on the bottom to add a new CSS rule. The name of the rule should be automatically highlighted. It should look something like ".gwd-new-class-abc4"
- append ":hover" to the class name: ".gwd-new-class-abc4:hover"
- click [Add] button below
- for property, type "border"
- for value type "10px solid"
- go to preview
You should see a 10px solid border surrounding your taparea when you hover over it.
Going back to adding roller effect for your call to action button, instead of adding an image under the tap area, a common approach is to set different background-image on the taparea with different pseudo-classes. More about background-image can be found here:
For example, you can have
#my-call-to-action-id {
background-image: url(url to normal button icon)
}
#my-call-to-action-id:hover {
background-image: url(url to hovered button icon)
}
#my-call-to-action-id:active {
background-image: url(url to clicked button icon)
}
Note the css rule begins with # instead of . in this example. This is because I am using the id of the call to action button directly. You can find out the id of your call to action button by going to the properties panel.
Hope this helps.
Cheers,
Paul