我想讓網站爲移動 我怎樣才能讓字體大小與手機屏幕的分辨率HTML 5種字體大小
<!DOCTYPE html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
p{font-size:1em;
/* font-size:20px; */
}
</style>
</head>
<body>
<p>
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard
dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has s
urvived not only five centuries, but also the leap into electronic .
</p>
</body>
</html>
我用它,但它不能正常工作:( –
@EngMaisa閱讀自適應網頁設計的一些文件,然後使用GeekyCenter的建議:) –
使用所有的高度和寬度%,如字體大小: 20%;在CSS中,並在標題 –