Normalize.css: Column-count not rendering correctly on chrome

Created on 13 May 2015  路  5Comments  路  Source: necolas/normalize.css

Also seen here

http://stackoverflow.com/questions/28595742/chrome-bug-content-not-rendering-multi-columns-properly/28618965#comment48539040_28618965

transform: translateZ(0)

I don't know if you can add this to styles with columns or not. Perhaps this would be a conditional mixin with less...

Most helpful comment

In any case someone wondering, you can try fixing this by adding this style to child elements

-webkit-column-break-inside: avoid;
-webkit-backface-visibility: hidden;

All 5 comments

There are some browser bugs with translateZ itself (see e.g. http://bugzil.la/1048279 & http://wkbug.com/138162 from https://github.com/twbs/bootstrap/pull/13649#issuecomment-57767763) and it creates a new stacking context (which is often undesirable), so I don't think it's a good general solution.

Browser-specific _rendering_ bugs are outside of the scope of normalizing browsers' _default styles_.

This issue should probably be closed.

@fvsch thanks

In any case someone wondering, you can try fixing this by adding this style to child elements

-webkit-column-break-inside: avoid;
-webkit-backface-visibility: hidden;

In any case someone wondering, you can try fixing this by adding this style to child elements

-webkit-column-break-inside: avoid;
-webkit-backface-visibility: hidden;

you just saved my ass man. thanks!

Was this page helpful?
0 / 5 - 0 ratings