Home > Article > Web Front-end > How to restrict Google from automatically adjusting font size_html/css_WEB-ITnose
Google’s default font size is 12px. When font-size
Recently when I was writing code and playing, I also encountered
The effect displayed in FF and chrome is as follows (FF on the left, Google on the right, I did not set the font size)
Use the text-size-adjust attribute to restrict Google from adjusting the font size. After I added the following style, it worked normally
1: body{
2: font-size: 20px;
3: -webkit-text-size-adjust:none;
4: }
The screenshot from Google is as follows:
Source: http://www .ido321.com/652.html