PictureBox and css class for rounded image

0
0

Hey

When I use a picturebox with an image in it, how can I achieve it, to add css to the image, so that it is rounded?

I added a StyleSheet component and added the following to the CssClass:

img {border-radius: 50%;}

But nothing happens…

Could you please give me a hint, how to achieve this.

THX a lot – Have a nice weekend

  • You must to post comments
0
0

Hi Harald,

please take a look at this blog that explains various ways to achieve this:

https://wisej.com/tag/css/

border_radius

Sample code:

border_radius_code

Hope that helps.

Best regards
Frank

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.