简体   繁体   中英

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. 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. Thanks for the help :)

就像mariusnn所说的那样,从.item-thumbnail这些样式,然后将它们直接放在img ,看看是否更喜欢这种效果。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM