字体大小css
.class {
font-size: 12px;
}
html字体大小
<span style="font-size:20px;"></span>
如何更改html中的字体大小
<body>
<h1 style="color:red;font-size:40px;">Heading</h1>
<p style="color:blue;font-size:18px;">This is demo text</p>
</body>
css更改文本大小
p {
font-size: 150% /*px, cm, in, etc.*/;
}
字体大小css
/* you can set the font size using font-size: and a number followed by px */
.class {
font-size: 60px;
}