CSS Classes and Rules
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-09-2026 06:50 AM
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.
- 1,777 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2026 11:05 AM
I seem to remember reading somewhere that pseudo-classes aren't allowed. I may have imagined that though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2026 11:04 AM
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.