I encountered the following issue using JavaFX.
Redefinition of tooltip style using stylesheet works in Java Scene Builder.
Redefinition of tooltip style at
The CSS properties you are trying to set for the Tooltip
are only relavent to JavaFX classes that extend the Region class. The Tooltip
is a child of the PopupControl
class and, as such, has a more limited CSS property library. Here's a link to a list of available CSS properties for Tooltip. That site is your best reference for JavaFX CSS properties.