How to restrict Google from automatically adjusting font size_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 11:57:29
Original
1140 people have browsed it

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{
Copy after login
   2:     font-size: 20px;
Copy after login
   3:     -webkit-text-size-adjust:none;
Copy after login
   4: }
Copy after login

The screenshot from Google is as follows:

Source: http://www .ido321.com/652.html

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template