Fix warning " Also define the standard property 'background-color' for compatibility "

I use this CSS code for my login button for my JAVAFX project and I get this warning:

Warning : Also define the standard property ‘background-color’ for compatibility

#login_id {      -fx-background-color:               #c3c4c4,             linear-gradient(#d6d6d6 50%, white 100%),             radial-gradient(center 50% -40%, radius 200%, #e6e6e6 45%, rgba(230,230,230,0) 50%);     -fx-background-radius: 30;     -fx-background-insets: 0,1,1;     -fx-text-fill: black;     -fx-effect: dropshadow( three-pass-box , rgba(0,0,0,0.6) , 3, 0.0 , 0 , 1 );  } 

Any help will be very appreciated 🙂

I’m using Eclipse by the way jdk 13 and javafx 11

Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.