Question from the Vue.js test

How to change the color of a button text in VueJS

Easy

Consider a ValidationButton component below:

<button class="validation-btn"></button>

I call my button like this:

<ValidationButton>Click to validate !</ValidationButton>

And CSS like this:

body {
 color: white;
}
.validation-btn {
  color: red;
}

What color will the button text be?

Author: DamienStatus: PublishedQuestion passed 14 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!