代码示例:(标识:css_ex_images_circle)
<!DOCTYPE html>
<html>
<head>
<style>
img {
  border-radius: 50%;
}
</style>
</head>
<body>

<h1>圆角图像</h1>

<p>请使用 border-radius 属性创建圆形的图像:</p>

<img src="/static/demo/images/tulip.jpg" alt="Tulip" width="300" height="300">

</body>
</html>
运行结果: