I am using javafx 15 with java 11.0.8 with visual studio code.
I think vscode does not recognize javafx css. It shows warnings such as: "Also define the standard property 'background-image' for compatibilitycss(vendorPrefix)" for property fx-background-image and it will do the same for all fx- prefixes.
It is as if vscode does not know about javafx css and relies on "web rules".
Is there a way to work around this?
I also had the same issue, I found that you can choose to ignore the warning messages in the settings of vscode.
1. Press : Ctrl + ,
2. Search : CSS > Lint: Vendor Prefix
3. Select : ignore
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With