<p>在移动设备上使用不同的css标记不同的字体大小

时间:2017-02-18 02:48:07

标签: html css

HTML display on chromium debug mode

从上面可以看出,我有各种各样的html标签。绝对没有使用CSS,只使用用户代理。

此页面在不在移动设备中时表现正常。当我通过移动设备查看时,<p>标签的字体大小会大大增加。我没有发现这方面的文件。

显然,<p>标签的大小增加,更加适合移动设备而无需任何css干预。这显然是一个糟糕的&#34; bug-feature&#34;因为表格和输入是微观的。这是正常的行为吗?如何模仿<p>标签发生的影响?

1 个答案:

答案 0 :(得分:0)

要删除此行为,您可以使用以下CSS:

+------------+--------------------------+---------------------+
|            |           Storm          |         Apex        |
+------------+--------------------------+---------------------+
| State      | External store           | Checkpointing       |
| Management | Limited checkpointing    | Local checkpointing |
|            | Difficult to exploit     |                     |
|            | local state              |                     |
+------------+--------------------------+---------------------+
| Recovery   | Cumbersome API to        | Incremental         |
|            | store and retrieve state | (buffer server)     |
|            | Require user code        |                     |
+------------+--------------------------+---------------------+
| Processing | At least once            |                     |
| Semantic   | Exactly once require     | At least once       |
|            | user code and affect     | End to end          |
|            | latency                  |                     |
|            |                          | exactly once        |
+------------+--------------------------+---------------------+
| Back       | Watermark on queue       | Automatic           |
| Pressure   | size for spout and bolt  | Buffer server       |
|            | Does not scale           | memory and disk     |
+------------+--------------------------+---------------------+
| Elasticity | Through CLI only         | Yes w/ full user    |
|            |                          | control             |
+------------+--------------------------+---------------------+
| Dynamic    | No                       | Yes                 |
| topology   |                          |                     |
+------------+--------------------------+---------------------+
| Security   | Kerberos                 | Kerberos, RBAC,     |
|            |                          | LDAP                |
+------------+--------------------------+---------------------+
| Multi      | Mesos, RAS - memory,     | YARN                |
| Tenancy    | CPU, YARN                | full isolation      |
+------------+--------------------------+---------------------+
| DevOps     | REST API                 | REST API            |
| Tools      | Basic UI                 | DataTorrent RTS     |
+------------+--------------------------+---------------------+

这指示(特别是移动版)浏览器不会自动调整文本大小。