Blogger Information
Blog 26
fans 0
comment 1
visits 18701
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
PHP课程第五天-CSS基本属性
Sam徐民强的博客
Original
561 people have browsed it
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>PHP课程第五天-CSS基本属性</title>
<style>
ul{
	width:350px;
	height:auto;
	margin:20px auto;
	padding:10px 10px;
	border:1px solid #e8e8e8;	
}
ul:after {  
	content:''; 
	display: block;   /*必须有 ,否则不跟随li高度撑开UL*/
	clear:both;  		
}
ul li{
	list-style: none; 
	float:left;
	width:100%;
	line-height:30px;
	text-align:left;
	border-bottom:1px solid #e8e8e8;
}
ul li span{float:right;}/*时间居右显示*/
a{ font-size:14px; color:#666;}
</style>
</head>

<body>
<ul>
  <li><a href="#">1.PHP课程第五天-CSS基本属性</a><span>2018-3-21</span></li>
  <li><a href="#">2.PHP课程第五天-CSS基本属性</a><span>2018-3-21</span></li>
  <li><a href="#">3.PHP课程第五天-CSS基本属性</a><span>2018-3-20</span></li>
  <li><a href="#">4.PHP课程第五天-CSS基本属性</a><span>2018-3-21</span></li>
  <li><a href="#">5.PHP课程第五天-CSS基本属性</a><span>2018-3-21</span></li>
  <li><a href="#">6.PHP课程第五天-CSS基本属性</a><span>2018-3-21</span></li>
</ul>
</body>
</html>

1.jpg

2.jpg

Correction status:qualified

Teacher's comments:这两天的作业已检查! 完成的很出色!继续保持!!
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post