Spades, Diamonds, Hearts, Clubs => styles do not change font color in Chrome for Android
P粉896751037
2023-09-05 15:25:13
<p>In Google Chrome on Windows, card suit symbols (spades, hearts, diamonds, clubs) are colored correctly using the "style" attribute. Unfortunately, the same page displayed in Google Chrome on Android does not display the colors I defined but uses the default black and red. (See the attached picture for the effect)</p>
<p>HTML code: (and link to the project https://stackblitz.com/edit/web-platform-z2cs3t?file=index.html)</p>
<pre class="brush:php;toolbar:false;"><span style="color: #114bb8">♠ spades</span><br />
<span style="color: #f10d0d">♥ hearts</span><br />
<span style="color: #ff9100">♦ diamonds</span><br />
<span style="color: #0da510">♣ clubs</span><br /></pre>
<ol>
<li><p>Is it possible to somehow force Google Chrome to display a selected color on Android? </p>
</li>
<li><p>I also want to understand why Chrome on Android uses predefined colors and I don't accept user colors. </p>
</li>
</ol></p>
AStombaugh wrote: Answers to similar questions that may be helpful: Change the font color of HTML symbols
Works for me:
Thanks.