23 posts
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
hekon2 says

Hi everybody, i am wondering how is possible to get circular thumbnails using css. I tried a couple of css, but it didn’t work :( I am just trying to give a better look at my website.

Thank you in advance P.

580 posts Don't be so humble - you are not that great.
  • Elite Author
  • Exclusive Author
  • Sold between 50 000 and 100 000 dollars
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
  • Referred between 10 and 49 users
  • Portugal
plusquare says

Try explaining a bit better what you want, if I understood well you want to put a ‘mask’ above a div to show the content in a circle. For that ad good option would pass by using a png border with a transparent circle in the middle. Would be at least the most compatible option.

325 posts Keeping Things Simple
  • Elite Author
  • Exclusive Author
  • Referred between 500 and 999 users
  • Has been a member for 2-3 years
  • Bought between 1 and 9 items
  • Portugal
  • Envato Studio (Microlancer) Beta Tester
+2 more
cmoreira says

Hello!

There are a few options. plusquare gave a good one, can work.

did you try using border-radius? if the image is square and you set a class for the image that has a border-radius setting, it can give the desired effect.

but it depends on your code. seach on google, i’m sure you’ll find some examples.

23 posts
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
hekon2 says

Thank you for the super fast answer :) I tried border radius, but the result wasn’t good.

I have read about mask technique but i do not try. Could you please recommend me a good code for it?

Thank you so much P;

1148 posts
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
  • Exclusive Author
  • Envato Studio (Microlancer) Beta Tester
  • United States
fillerspace says

Open FireBug and right click on the avatars on this page. Add border-radius:60px and you get a perfect circle. I’m not sure how you could get better results with as little effort as this.

23 posts
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
hekon2 says

Sorry but i didn’t work ;(

23 posts
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
hekon2 says

I need to get a perfect circular thumbnail.

159 posts
  • Envato Studio (Microlancer) Beta Tester
  • Has been a member for 2-3 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 10 and 49 items
s4nji says
border-radius: 50%;
It will make the element perfectly rounded, like this
If it didn’t work, you might have used an old version of browser, which might not support the border-radius property, or require a vendor prefix.
23 posts
  • Bought between 10 and 49 items
  • Has been a member for 2-3 years
hekon2 says

it works ;)

thank you

by
by
by
by
by
by