title: Textfield CSS styling using JavaFx
body: <p>I'm trying to style some textfields using JavaFX, but I'm not getting desired results. My goal is to have the textfield be represented by a singular underline. Here's my CSS:</p>
  
  <pre><code>.text-field{
     -fx-font-family: "Quicksand";
     -fx-font-size: 18;
     -fx-padding: 1,1,1,1;
     -fx-border-color: grey;
     -fx-border-width: 2;
     -fx-border-radius: 1;
     -fx-border: gone;
     -fx-background-color: transparent;
     -fx-text-fill: grey;
  }
  </code></pre>
  
  <p>I have researched this question, but the answers I find to similar ones don't really contain enough information to reproduce and apply properly to my program. It doesn't help that I'm not very knowledgeable about CSS styling. I've tried to use insets with minimal results. Thank you for any answers provided!</p>