2012-08-02 82 views
0

我试图在博客圈上创建相关的发布插件thumbnil图片并不成功。下面是我使用的代码..如何在图片css上添加边框到博主

.popular-posts .item-thumbnail { 
border: 5px solid #dddddd !important; 
border-radius: 100px !important; 
} 

我的博客,tipsontricks(点)的COM,看到我想要的边界去上的图像的顶部,而不是下sidebar-。感谢您的帮助:)

+0

在实际图像上设置边框半径会使角至少变圆。图像的大小始终与容器大小相同? – mariusnn 2012-08-02 02:38:24

+0

您只需要边框顶部? – Prashobh 2012-08-02 02:42:02

回答

0

像mariusnn说,把这些样式关闭.item-thumbnail,并把它们直接在img,看看你是否更喜欢这种效果。

+0

啊......谢谢:) – 2012-08-02 02:47:01