答案 0 :(得分:0)
试试这个
.left{
margin: 0px;
padding: 0px;
display:block;
float: left;
width:50%
}
.right{
margin: 0px;
padding:0px;
display: block;
width:50%;
float:right;
}
.arrow{
list-style-type: none;
}
.arrow li:before{
content: '\f0da';
font-family:'FontAwesome','sans-serif';
float: left;
padding-right: 5px;
color: #922B38;
}
<div class="left">
<ul class="arrow">
Name block
<li>Name</li>
<li>Name</li>
<li>Name</li>
<li>Name</li>
</ul>
</div>
<div class="right">
<ul class="arrow">
Names block
<li>Names</li>
<li>Names</li>
<li>Names</li>
<li>Names</li>
</ul>
</div>
答案 1 :(得分:0)
您可以float
使用width
来达到效果:
.left{
float: left;
width:50%;
}
.right{
float:left;
width:50%;
}