Why Google Content Icons Are Not Displaying on Mobile Devices

I use Materializecss and it uses google design icons. On some mobile phones Google Material-Icons can be shown. What caused this?

enter image description here

+4
source share
1 answer

Problems arise due to the text-rendering property. Text rendering is not a CSS standard, but allows you to use text quality.

In google material css, this property has a default value. If you add this style, you will solve the problem:

 .material-icons { text-rendering: optimizeLegibility; } 

In this definition, we tell the browser that "emphasize clarity in rendering speed and geometric accuracy."

https://css-tricks.com/almanac/properties/t/text-rendering/

+9
source

All Articles