jQuery Mobile默认字体大小 [英] jquery mobile default font size
本文介绍了jQuery Mobile默认字体大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有以下代码:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>jQuery Mobile</title>
<link rel="stylesheet" href="http://code.jquery.com/mobile/latest/jquery.mobile.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
<script src="http://code.jquery.com/mobile/latest/jquery.mobile.js"></script>
</head>
<body>
<div data-role="page" id="myPage">
<div data-role="header">
<h1>Header</h1>
</div>
<div data-role="content">Hello World!</div>
<div data-role="footer">
<h4>Footer</h4>
</div>
</div>
<script src="/jQueryMatrix/Inc/js/PRINT.js"></script>
</body>
</html>
但是我的字体看起来很小. 是的,我可以放大,但是默认字体大小不应该可读吗?
But my font size looks so small. It's true, I can zoom in, but shouldn't the default font size be legible?
推荐答案
我会考虑在meta标签中设置视点:
I would look into setting the viewpoint in a meta tag:
<meta name="viewport" content="width=device-width, initial-scale=1">
更多信息:
这篇关于jQuery Mobile默认字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文