Solved

Which of the Following Creates a Custom Style Class That

Question 3

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents