<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>字体属性</title>
</head>
<style>
p{
color: #b3d4fc;
font-size: 30px;
text-align: center;
line-height: 100px;
/*
border 边框
*/
border: 1px solid red;
}
div{
border: 5px solid red;
/*尺寸*/
height: 200px;
width: 200px;
background-image:url("/src/img/b1.jpg");
}
</style>
<body>
<p>小胖</p>
<div>黑马程序员</div>
</body>
</html>
前端技术——html——字体属性
猜你喜欢
转载自blog.csdn.net/niTaoTaoa/article/details/103212163
今日推荐
周排行