• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to change <p:autoComplete> items background color while hover?

 
chen young
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using primefaces <p:autoComplete> and I want to change the background color of the items while hover them.
In css it’s quite simple but I can’t find any “hover” attribute.

I would expect to have something like this:

.ui-autocomplete-item ul li:hover {
background: #E8749F;
}

Any ideas ?

Thanks

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!