问题标签 [columnal-css-framework]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
43 浏览

html - 使用 Columnal 和第 6 行代码会出错,可以修复吗?

我从来没有遇到过这样的事情,但它看起来有点奇怪..我习惯于以这种格式看到它(Columnal中的上一行):

首先,第一个代码示例是做什么的?我需要担心它的格式吗?谢谢

0 投票
1 回答
11254 浏览

html - Vertical divider line between columns using columnal css responsive framework

I am using the columnal(http://www.columnal.com/) responsive grid framework and am trying to create a vertical divider line in between columns that will stay centered in the right margin as the viewport is resized.

I have tried a couple of solutions using background images and pseudo elements but neither has been successful. The right margin is used by the columnal framework so this can't be used as part of the solution which is why I think a vertically repeating background image or pseudo element is required.

I am also trying to avoid using additional html elements in the code, I would like to keep this as clean as possible. However if that's the only solution, then so be it.

Here's the HTML:

and here's the CSS:

I've put it up as fiddle here which also includes a little more explanation:

http://jsfiddle.net/NtuZJ/12/