<div class="ul-container">
	<ul>
		<li>测试</li>
		<li>消失</li>
		<li>边界线</li>
		<li>右侧</li>
		<li>边界线</li>
		<li>消失</li>
		<li>测试</li>
	</ul>
</div>
ul{
	width: 300px;
	margin-left:-1px;
}

li{
	float:left;
	width:99px;
	line-height:30px;
	text-align:center;
	border-left:1px solid #999;
	font-size:18px;
	margin-bottom:10px;
}

.ul-container{
	width: 300px; 
	margin: 50px auto;
	overflow:hidden;
	background: #eee;
	padding:10px 0;
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.