Trying to make an image a circle in Gutenberg

Question

Gutenberg allows extra CSS styles for an image.

I want to make the image a circle and I thought this CSS would work:

img.imgcircular {
-webkit-clip-path: circle(15.7% at 50% 50%);
clip-path: circle(15.7% at 50% 50%);
}

And the class on the image is “imgcircular”

Any ideas why it doesn’t work?

Thanks

0
, henry 3 years 2020-03-17T04:50:49-05:00 0 Answers 116 views 0

Leave an answer

Browse
Browse