Text color not changing in Android


Can someone explain why the css is not applied to the android but applies to the ios? Text color is not turned white on android. Even the description is not turned grey using ``. Preview is on ionic lab.



``` ``` .card-price { background-color: #64DD17; bottom: -25%; color: white; font-family: Roboto; right: 0; padding: 0.25em 0.75em; position: absolute; } ```

You should debug this using “Inspect element” of your browser’s dev tools.

Finally solved it by putting an !important at color attribute to override existing CSS. Thanks for the tip! :grin:

1 Like