How to write CSS code for particular control

前端 未结 1 2042
刺人心
刺人心 2021-01-24 07:18

I developed a JavaFx stand alone application, which is having following controls

Two sets of -- Button btn1,btn2; Two sets of -- LineChart lc1,lc2;

In .css file

1条回答
  •  失恋的感觉
    2021-01-24 07:54

    You probably need an extra space between the id of the chart and the chart line class:

    #lc1 .default-color0.chart-series-line { -fx-stroke: green; }
        ^-- here
    

    0 讨论(0)
提交回复
热议问题