[英]how to add border to image css on blogger
My attempt to make the related post widget thumbnil image on blogger circle wasn't successful. 我尝试在Blogger圈子上制作相关的帖子窗口小部件缩略图图像没有成功。 Here's the code I am using.. 这是我正在使用的代码。
.popular-posts .item-thumbnail {
border: 5px solid #dddddd !important;
border-radius: 100px !important;
}
my blog, tipsontricks (dot) com, see the sidebar- I want the border to go on top of the image, not under. 我的博客,tipsontricks(dot)com,请参见侧边栏-我希望边框位于图片上方,而不是下方。 Thanks for the help :) 谢谢您的帮助 :)
就像mariusnn所说的那样,从.item-thumbnail
这些样式,然后将它们直接放在img
,看看是否更喜欢这种效果。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.