0
A
回答
3
可以使用边界半径实现它:
.circle {
border-radius: 50%;
width: 200px;
height: 200px;
/* width and height can be anything, as long as they're equal */
}
欲了解更多信息请查看本article。
3
2
使用border-radius: 50%;
polyfills。
1
你在这里。
的HTML:
<img src="http://coolvibe.com/wp-content/uploads/2013/01/Portrait-Alexander-Beim-Bruce.jpg" />
的CSS:
img{border-radius:500px; border:2px solid #000000; width:200px; height:200px;}
我希望这是你在找什么。
0
img{
border-radius:50%;
border:1px solid #000000;
height:150px;
width:200px;
}
/*You can change height width*/
相关问题
- 1. 我们如何能在imgareaelect显示选定的区域
- 2. 如何显示图像(html,javascript)的地图区域的轮廓?
- 3. 如何在Picturebox中定义的区域内显示图像?
- 4. 在img区域选择,我想要显示在新的选定图像div
- 5. 使用CImg库从显示的图像中选择区域
- 6. 我们如何统计图表区域中多少个选择?
- 7. ImageView显示图像的区域
- 8. 如何获取图像中显示的区域?
- 9. 如何裁剪只显示在transperant区域的图像?
- 10. 如何在html中显示blob图像?
- 11. 如何在html中显示图像?
- 12. 如何在html中显示图像?
- 13. HTML地图和区域没有显示
- 14. Safari在我的图像下显示空白区域?
- 15. 机器人 - 我们如何将图像中的圆圈帆布
- 16. 如何使用CSS在图像上显示区域
- 17. 选择图像的区域
- 18. 导出区域为html中的图像
- 19. 区域圈覆盖图
- 20. 在gtk中显示图像 - 是否需要gtk绘图区域?
- 21. 如何在文本区域中显示HTML
- 22. 如何在'选项'findall后选择表单的显示区域?
- 23. 我如何在GridView中显示图像?
- 24. 在ASP.Net中突出显示图像上的区域
- 25. 如何在HTML显示图像
- 26. 如何在HTML dynamycally显示图像(angularjs)
- 27. 我如何在php中显示图像中的图像
- 28. JQuery图像选择区域
- 29. HTML /在HTML页面中显示图像
- 30. 如何在c#中只显示没有整个区域的图像?
可能是'border-radius:50%'会很有用:http://jsfiddle.net/PG656/ – Cherniv
为什么大家都发布相同的答案。是。边界半径为50%。我们懂了。所有的答案都是重复的。没有什么独特的 – MarsOne
border-radius只适用于FF,Chrome和IE 9.对于早期版本的IE,使用CSS3PIE或其他IE浏览器的渐进式行为 – Nisha