我想知道是否有一种方法可以使用以下内容设置两列布局:
我有
<div>
<div>title </div>
<div>content </div>
<div>name </div>
<div>data </div>
</div>
<div>
<div>title </div>
<div>content </div>
<div>name </div>
<div>data </div>
</div>
<div>
<div>title </div>
<div>content </div>
<div>name </div>
<div>data </div>
</div>
<div>
<div>title </div>
<div>content </div>
<div>name </div>
<div>data </div>
</div>
<div>
<div>title </div>
<div>content </div>
<div>name </div>
<div>data </div>
</div>
<div>
<div>title </div>
<div>content </div>
<div>name </div>
<div>data </div>
</div>
<div>
<div>title </div>
<div>content </div>
<div>name </div>
<div>data </div>
</div>
<div>
<div>title </div>
<div>content </div>
<div>name </div>
<div>data </div>
</div>
more....
我想要以下内容:
title title
content content
name name
data data
title title
content content
name name
data data
title title
content content
name name
data data
title title
content content
name name
data data
title title
content content
name name
data data
more ....
我不确定如何在 CSS 中执行此操作。有任何想法吗?非常感谢!