title: How do i change the color of a slider track track in Javafx using css?
body: <p>I have a music player and i am trying to change the slider track color and not just the border color when i do </p>
  
  <p>-fx-background-color: it changes the border background color
  -fx-color: changes the slider dot</p>
  
  <p>i tried 
  -fx-track-fill: it doesnt work.</p>
  
  <p>this is what i have:</p>
  
  <pre><code>.root
  {
      -fx-background-color: #383838;
  }
  .vbox
  {
      -fx-background-color: #549534;
  }
  .button
  {
      -fx-background-color: linear-gradient(#dc9656,#ab4642);
      -fx-text-fill: #ffffff;
  
  }
  .label
  {
      -fx-text-fill: #ffffff;
  }
  .slider
  {
       -fx-background-color: linear-gradient(#dc9656,#ab4642);
       -fx-color:#549534;
  }
  </code></pre>