Attempting to replicate a Fallout 4 button style using CSS, I have successfully implemented simple background-color and border properties. However, there seems to be an issue with the border not covering the entire button. A part of the background is protruding at the bottom of the button (refer to screenshot 1).
https://i.sstatic.net/xazlR.png
Interestingly, when clicking on the button and holding the mouse down, it disappears partially but not entirely (see screenshot 2).
https://i.sstatic.net/VHqs5.png
Below is a snippet of my CSS for reference:
.button {
-fx-background-color:transparent ;
-fx-background-radius:0;
-fx-border-color:transparent;
-fx-border-width: 0 3 3 0;
}
.button:hover {
-fx-background-color:lime;
-fx-background-radius:0;
-fx-border-color:black;
-fx-border-width: 0 3 3 0;
}
Any insights into what might be causing this issue?