<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>文字排版</title>
<style type="text/css">
* {
margin:0;
padding: 0;
}
body{
background: #efefef;
}
div{
margin:0 auto;
box-sizing: border-box;
width: 372px;
height: 232px;
border: 1px solid #666;
padding:10px;
}
h1{
font-family: "微软雅黑";
font-size: 18px;
border-bottom: 1px solid #666;//底部加边框
padding-bottom: 10px;
padding-top:10px;
}
span{
font-size: 14px;
}
ul{
list-style: none;
margin-top: 10px;
}
ul li{
line-height: 30px;
border-bottom:1px dashed #666;
font-family: "微软雅黑";
font-size: 12px;
color: #242424;
padding-left: 20px;
}
</style>
</head>
<body>
<div>
<h1>最新文章/<span>New Articles</span></h1>
<ul>
<li>你好,我是吴小青你好,我是吴小青</li>
<li>你好,我是吴小青你好,我是吴小青</li>
<li>你好,我是吴小青你好,我是吴小青</li>
<li>你好,我是吴小青你好,我是吴小青</li>
<li>你好,我是吴小青你好,我是吴小青</li>
</ul>
</div>
</body>
</html>
<html>
<head>
<meta charset="utf-8">
<title>文字排版</title>
<style type="text/css">
* {
margin:0;
padding: 0;
}
body{
background: #efefef;
}
div{
margin:0 auto;
box-sizing: border-box;
width: 372px;
height: 232px;
border: 1px solid #666;
padding:10px;
}
h1{
font-family: "微软雅黑";
font-size: 18px;
border-bottom: 1px solid #666;//底部加边框
padding-bottom: 10px;
padding-top:10px;
}
span{
font-size: 14px;
}
ul{
list-style: none;
margin-top: 10px;
}
ul li{
line-height: 30px;
border-bottom:1px dashed #666;
font-family: "微软雅黑";
font-size: 12px;
color: #242424;
padding-left: 20px;
}
</style>
</head>
<body>
<div>
<h1>最新文章/<span>New Articles</span></h1>
<ul>
<li>你好,我是吴小青你好,我是吴小青</li>
<li>你好,我是吴小青你好,我是吴小青</li>
<li>你好,我是吴小青你好,我是吴小青</li>
<li>你好,我是吴小青你好,我是吴小青</li>
<li>你好,我是吴小青你好,我是吴小青</li>
</ul>
</div>
</body>
</html>