<head>
<link rel="stylesheet" href="myfile.css">
<!-- Or specify the directory C:/User/...
but it's more efficient if you only specify the file created into a folder so if you move that folder changes will apply along with the html-->
</head>
然后打开created css并使用以下规则:(Only {})
Resizing Text:
p(or the part of html that you are using){
font-size: 40px;
}
Move Text :
(Consider that you are moving the object FROM the direction
to the opposite one:
example left:80px means that it will be 80px away from the left side.
p{
position:absolute;
left:80px;
top:20px;
}
3条答案
按热度按时间tzcvj98z1#
CSS
是前端开发中非常重要的一部分,所以你不应该害怕使用和学习它。你可以开始把你的css
链接到你的html
,如下所示:然后打开
created css
并使用以下规则:(Only {}
)k10s72fa2#
我知道三种更改文本大小的方法,它们是:使用css或使用Head标签内的Style标签或使用所需used标签内的Style标签进行更改,例如:
ct3nt3jp3#
使用字体标记