Spades, Diamonds, Hearts, Clubs => styles do not change font color in Chrome for Android
P粉896751037
P粉896751037 2023-09-05 15:25:13
0
1
586

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)

HTML code: (and link to the project https://stackblitz.com/edit/web-platform-z2cs3t?file=index.html)

♠ spades
♥ hearts
♦ diamonds
♣ clubs
  1. Is it possible to somehow force Google Chrome to display a selected color on Android?

  2. I also want to understand why Chrome on Android uses predefined colors and I don't accept user colors.

P粉896751037
P粉896751037

reply all (1)
P粉550823577

AStombaughwrote: Answers to similar questions that may be helpful:Change the font color of HTML symbols

Works for me:

span { color: transparent; text-shadow: 0 0 0 rgb(0, 128, 0); } 

Thanks.

    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!