我一直在自己的CSS网格上工作,并找到了以下网站:
http://demo.select-themes.com/stockholm1/four-column-gallery/
有谁知道它是如何实现的?基本上,Portfolio元素之间有空间,但是没有边距,填充,我能想到的任何东西:
<article class="mix portfolio_category_2 mix_all" style=" "><div class="image_holder standard_hover"><span class="image">(...)</article>
2% margin (not sure where it comes from!)
<article class="mix portfolio_category_2 mix_all" style=" "><div class="image_holder standard_hover"><span class="image">(...)</article>
我认为这是Bootstrap,但是bootstrap的网格毕竟似乎有边距...这些项目只有底边距,而没有左右边距。怎么做的?
最佳答案
这是对容器进行样式设置的规则:
.projects_holder {
...
text-align: justify;
...
}
尝试在开发控制台中将其删除。