<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>盒子模型</title>
<style type="text/css">
.news_title{
width: 380px;
height: 35px;
border-top:1px solid red;
border-bottom: 3px solid black;
font-size: 20px;
color: black;
font-family: 'Microsoft Yahei';
font-weight: normal;
padding-top: 15px;
line-height: 20px;
padding-left: 20px;
}
</style>
</head>
<body>
<h3 class='news_title'>新闻标题</h3>
</body>
</html>```
![在这里插入图片描述](https://img-blog.csdnimg.cn/20190704104255754.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3N1bmRhbnBpbmdfMTIz,size_16,color_FFFFFF,t_70)
前端开发--css--盒子模型练习题
最新推荐文章于 2022-11-06 17:10:28 发布