This discussion is archived
2 Replies Latest reply: Jan 20, 2013 11:40 PM by Frank Nimphius RSS

Group user style class

974835 Explorer
Currently Being Moderated
Hi,

I would like to group some style class to one user style class.

I was trying ths code:

.myButton af|commandButton:hover, af|commandButton:focus:hover {
background-color: transparent;
}

and also this:
.myButton af|commandButton:hover af|commandButton:focus:hover {
background-color: transparent;
}

But it didn't work.
Do you know how could I define it?
So I will be able to use only myButton style class and it will include af|commandButton:hover, af|commandButton:focus:hover etc.

Thanks!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points