Solved

Which of the Following Creates a Custom Style Class That

Question 21

Multiple Choice

Which of the following creates a custom style class that will allow a Button control to appear with a blue background and yellow text?


A) .button-color {
-fx- background-color: blue;
-fx- text-fill: yellow;
}
B) .button-color {
-fx- bgcolor: blue;
-fx- textfill: yellow;
}
C) .blue-button {
Background-color: blue;
Text-fill: yellow;
}
D) .blue-button {
-fx- background: blue;
-fx- text: yellow;
}

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions