Give help. Get help.
How to make multiple column like newspaper using css3?
This is one simple way to do it.
[http://cdpn.io/mEKdF](http://cdpn.io/mEKdF)
You can use the CSS3 multicolumn layout: http://www.w3.org/TR/css3-multicol/
Very limited support though: http://caniuse.com/#feat=multicolumn
Chris made a video on this a while back, but he makes an entire grid system. http://css-tricks.com/video-screencasts/115-dont-overthink-it-grids/
I’ve been experimenting in Codepen.
It’s all unprefixed and as @senff said….has very limited support.
http://codepen.io/Paulie-D/pen/khdJH
Odd top-margin bug on the contents which I’ve had to ‘hack’…any thoughts?
Great example @paulie_d. I think you missed “column” in front of “gap”.
>@rodolpheb
Thanks…so I did. Fixed
Actually the universal selector works (just not on Codepen). I’ve tested it on Safari, Chrome, Opera, Firefox (Mac)
Oh…I know it works **generally** but if I remove the margin-top: 0 from the p tag there is a gap at the top of the first column even with the the universal margin set to 0.
On your example: – with the universal margin set to 0, – and with the margin-top: 0 from the p tag removed it works. Try without using Codepen. :)
Hmmm….must be a Codepen issue then.
You must be logged in to reply to this topic.