Style Your JavaFX with CSS
Key Skills & Concepts
• Adding CSS files to your packages
• Using CSS classes
• Accessing Node properties
In this chapter you learn how to use Cascading Style Sheets (CSS) to easily change the look and feel of your JavaFX applications. If you are not fully aware of what CSS is, this very quick refresher should help.
CSS is a styling language that allows you to separate the styling elements of an object from the object itself. Although CSS was created long before JavaFX, JavaFX includes the ability to ...