This is the css I've tried:
.button {
-fx-background-radius: 4;
-fx-effect: dropshadow(gaussian, rgba(0, 0, 0, 0.7), 10, 0, 0, 1);
-fx-background-insets: 0, 1;
-fx-padding: 5 20 5 20;
}
<div class="button">Nouvea</div>
This is the effect I want:
Try this css :
#shinyButton{
-fx-background-color:
#ECECEC,
linear-gradient(#ECECEC 50%, #D5D5D5 100%),
radial-gradient(center 50% -40%, radius 200%, #ECECEC 45%, #D5D5D5 50%);
-fx-background-radius: 10;
-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 );
}
For more info check the link @Sedrick gave you in the comments.
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