如何在div中设置文章样式?
边框现在跨越3列div的整个宽度,但我希望三篇文章中的每一篇都有一个单独的边框。
我试过这个,但没有运气。
#bloghomesection article {
border-radius: .3125em;
border: 0 solid #D8D8D8;
border-bottom-width: 3px;
min-height: 400px;
}
尝试使用此样式设置CSS: -
.fusion-posts-container > article
所以你的CSS看起来像:
.fusion-posts-container > article {
border-radius: .3125em;
border-bottom: 3px solid #D8D8D8;
min-height: 400px;
}
这将针对每篇文章。
谢谢,斯科特