大佬教程收集整理的这篇文章主要介绍了html – 使用css显示为带圆圈的图像的图像,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
<div id="hotspot-img1-0"> <ul> <img class="proimg" src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/276311_100002617687873_1118195351_n.jpg" title="web" style="width:100px;height:100px;BACkground:#fff;border:2px solid #ccc;-moz-border-radius:52px;-webkit-border-radius:52px;"> </ul> </div>
CSS
#hotspot-img1-0{ top: 570px; left: 67px; height: 104px; width: 104px; border-top-left-radius: 52px; border-top-right-radius: 52px; border-bottom-right-radius: 52px; border-bottom-left-radius: 52px; box-shadow: 0px 2px 5px 0px; border-top-color: rgb(255,255,255); border-left-color: rgb(255,255); border-right-color: rgb(255,255); border-bottom-color: rgb(255,255); border-top-width: 2px; border-left-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-top-style: solid; border-left-style: solid; border-right-style: solid; border-bottom-style: solid }
<div> <ul> <li> <img class="proimg" src="http://profile.ak.fbcdn.net/hprofile-ak-snc4/276311_100002617687873_1118195351_n.jpg" title="web"> </li> </ul> </div>
&安培;回答问题使用BACkground-image而不是img:
li{ BACkground:url(image.jpg) no-repeat; -moz-border-radius:52px; -webkit-border-radius:52px; border-radius:52px; width:200px; height:200px; }
以上是大佬教程为你收集整理的html – 使用css显示为带圆圈的图像的图像全部内容,希望文章能够帮你解决html – 使用css显示为带圆圈的图像的图像所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。