📜  javafx 更改按钮背景颜色 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:48:01.255000             🧑  作者: Mango

代码示例2
/*can address these properties: */
-fx-border-width
-fx-border-color
-fx-background-color
-fx-font-size
-fx-text-fill

/*    see source for more examples
    see JavaFX CSS Reference Guide for additional properties:
    https://docs.oracle.com/javafx/2/api/javafx/scene/doc-files/cssref.html
*/