As can be seen in the example, in some places the shadows disappear from the blocks. How to avoid it? Margin does not help, increasing the distance between the columns, too.
.content-wrap { max-width: 1000px; margin: 0 auto; background: #fafafa; padding: 0 20px; -webkit-columns: 230px; -moz-columns: 230px; columns: 230px; -webkit-column-gap: 20px; -moz-column-gap: 20px; column-gap: 20px; } article { height: 200px; width: 100%; display: inline-block; padding: 5px; background: #f9f9f9; box-shadow: 0 1px 2px rgba(0,0,0,0.6); margin: 5px; } article header { height: 30%; background: #a85; } article .content { height: 70%; background: #666; }
<div class="content-wrap"> <article> <header></header> <div class="content"></div> </article> <article> <header></header> <div class="content"></div> </article> <article> <header></header> <div class="content"></div> </article> <article> <header></header> <div class="content"></div> </article> <article> <header></header> <div class="content"></div> </article> <article> <header></header> <div class="content"></div> </article><article> <header></header> <div class="content"></div> </article> <article> <header></header> <div class="content"></div> </article> <article> <header></header> <div class="content"></div> </article> <article> <header></header> <div class="content"></div> </article> </div>