Reputation: 2723
How can I change a textfields borders color in a way that two vertical borders have a same color and two horizontal borders have a same color using CSS?
Is there any way to make four border lines have four different color?
Thanks
Upvotes: 2
Views: 1753
Reputation: 6537
You can specify 4 values in -fx-border-color
, and they will be the colors of the top, right, bottom and left border, respectively.
-fx-border-color: red green blue yellow;
See -fx-border-color
in JavaFX CSS reference.
Upvotes: 2