本文介绍了定位第n列(按列计数)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
假设我有这个
<ul> <li>test</li> <li>test</li> <li>test</li> <li>test</li> <li>test</li> <li>test</li> </ul> ul { column-count: 2; }我想将第一列向右对齐,第二列向左对齐
and I want to align first column to right and the second to left, is there any way to target one of those columns using css selectors?
推荐答案到目前为止,还没有办法使用ns列作为目标。带有纯CSS。
As of now, there is no way to target nth column with pure css.
更多推荐
定位第n列(按列计数)
发布评论