It may be silly question but I am not much familiar with ionic and css, so Can any one tell me how to change text color of the ionic button?
<div class="bottom-button" margin text-center>
<button ion-button color="energized">
Register
</button>
</div>
Here, Button color is yellow and text color is black. I want to change text color to white.
Specify the icon color by applying the color CSS property on the ion-icon component.
fix your code with style
<div class="bottom-button" margin text-center>
<button ion-button style="color:red">
Register
</button>
</div>
OR use css:
button{
color:red
}
<div class="bottom-button" margin text-center>
<button ion-button>
Register
</button>
</div>
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