CSS Classes and Rules

tomasscerba
Mega Sage

Hi All,

 

does anyone figure it out how to apply CSS rules in UI Builder and what they are for? ServiceNow Docs regarding this topic is a joke.

 

Create custom style classes and rules • Australia Build or modify applications • Docs | ServiceNow

 

Has anyone ever figured it out how to for example apply some CSS on :hover?

 

Any help would be appreciated.

 

Thanks.

11 REPLIES 11

I seem to remember reading somewhere that pseudo-classes aren't allowed. I may have imagined that though.

This is really helpful! I figured out some of this myself, but your experiments with rules may give me a way to be rid of some inline styling I used.