Python server 会使得 html 字体变小,这是什么情况?

相同的 html

<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8"/>
    <title>Document</title>
  </head>
  <body>
    <h1 style="font-size:20px;">你你好你好你好你好你好你好你好好</h1>
  </body>
</html>

直接只用浏览器访问文件

使用 python -m http.server --bind 127.0.0.1 后访问

这是什么情况?


Python server 会使得 html 字体变小,这是什么情况?

8 回复

我无法理解你的问题。

看一下 content-type

thank you, 困扰了很久了

content-type 没有什么特别的信息

可笑一整年

看了 1L 的回答,绝了,真的可以拿来笑一整年

哈哈哈哈哈

chrome 下按 ctrl+0 还是会放大,检查下这个
![]( )

回到顶部