title: Css for javafx.scene.text.Text
body: <p>I want to change color and font size of content of <code>javafx.scene.text.Text</code> but couldn't seem to find the correct css. I used the following but there were no visible changes.</p>
  
  <pre><code>.text { 
   -fx-font-smoothing-type: lcd;
   -fx-fill: white;
   -fx-font-size: 11pt;
  }
  </code></pre>
  
  <p>Can anyone please tell me how can I change the color and size of  <code>javafx.scene.text.Text</code> using css?</p>