I have a div with three vertical divs in it. Within these inner divs there are divs with the column-count CSS property (working well, see below).
The working part is this (for multiple sreen sizes) as an example:
@media only screen and (min-width: 1100px) {
.masonry {
-moz-column-count: 2;
-webkit-column-count: 2;
column-count: 2;
}
}
Could someone please tell me why the following code is not working when I try to print a page?
@media print {
.masonry {
-moz-column-count: 2 !important;
-webkit-column-count: 2 !important;
column-count: 2 !important;
}
}
The @media print query is working with
@media print {
body {
display: none;
}
}
for example.
I tried Safari and FF on Mac OS X.
Thank you!