/* (图1) 设置背景颜色渐变,where <side-or-corner> = [left | right] || [top | bottom] */
-fx-background-color: linear-gradient(to bottom,#99CCFF,#CCFFFF)
/* (图2) 边角圆弧,参数分别是左上角→右上角→左下角→右下角,全部统一就只输50 */
-fx-background-radius: 50 0 50 0
/* (图3) 内边距 */
-fx-background-insets:10 0 10 0
/* (图4) 标题面板 */
-fx-background-color: linear-gradient(from 0px 0px to 0px 50px, gray, darkgray 50%, dimgray 99%, white)
-fx-background-radius: 30 30 0 0
设置TextArea文本域透明(背景透明,文字不透明)
待续...