圆角头像的制作
2009-08-21 09:34
260 查看
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>图片的圆角</title> <mce:style type="text/css"><!-- /*reset*/ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{padding:0;margin:0;} table{border-collapse:collapse;border-spacing:0} fieldset,img{border:0} address,caption,cite,code,dfn,em,th,var{font-weight:normal;font-style:normal} strong, b{ font-weight: bold; } ol,ul{list-style:none} caption,th{text-align:left} h1,h2,h3,h4,h5,h6{font-weight:7100;} h1{font-size:18px} h2{font-size:16px} h3{font-size:14px} h4{font-size:14px} h5{font-size:12px} h6{font-size:12px} q:before,q:after{content:''} abbr,acronym{border:0} hr {margin: 0;padding: 0;border: 0;color: #CDCDCD;background-color: #CDCDCD;height: 1px} blockquote{color:#666;font-style:italic;} sup,sub{line-height:0} abbr,acronym{border-bottom:1px dotted #666} pre{white-space:pre;} pre,code,tt{font:12px 'andale mono', 'lucida console', monospace;line-height:1.5} /*clear clearfix*/ body{ background-color:#000} .clearfix:after {content: "/0020"; display: block; height: 0;clear: both; visibility: hidden; } .clearfix {zoom: 1;} /*==========================*/ #circular-box{ margin: 50px;} #circular-box li{ float:left; margin:0 20px; position:relative} #circular-box li img{display:block} #circular-box li span{position:absolute; top:0; left:0;width:200px; height:200px; background:url(http://www.css88.com/demo/circular-img/circular.png) no-repeat; _background:none;_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.css88.com/demo/circular-img/circular.png',sizingMethod='crop'); cursor:pointer} --></mce:style><style type="text/css" mce_bogus="1">/*reset*/ body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td{padding:0;margin:0;} table{border-collapse:collapse;border-spacing:0} fieldset,img{border:0} address,caption,cite,code,dfn,em,th,var{font-weight:normal;font-style:normal} strong, b{ font-weight: bold; } ol,ul{list-style:none} caption,th{text-align:left} h1,h2,h3,h4,h5,h6{font-weight:7100;} h1{font-size:18px} h2{font-size:16px} h3{font-size:14px} h4{font-size:14px} h5{font-size:12px} h6{font-size:12px} q:before,q:after{content:''} abbr,acronym{border:0} hr {margin: 0;padding: 0;border: 0;color: #CDCDCD;background-color: #CDCDCD;height: 1px} blockquote{color:#666;font-style:italic;} sup,sub{line-height:0} abbr,acronym{border-bottom:1px dotted #666} pre{white-space:pre;} pre,code,tt{font:12px 'andale mono', 'lucida console', monospace;line-height:1.5} /*clear clearfix*/ body{ background-color:#000} .clearfix:after {content: "/0020"; display: block; height: 0;clear: both; visibility: hidden; } .clearfix {zoom: 1;} /*==========================*/ #circular-box{ margin: 50px;} #circular-box li{ float:left; margin:0 20px; position:relative} #circular-box li img{display:block} #circular-box li span{position:absolute; top:0; left:0;width:200px; height:200px; background:url(http://www.css88.com/demo/circular-img/circular.png) no-repeat; _background:none;_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://www.css88.com/demo/circular-img/circular.png',sizingMethod='crop'); cursor:pointer}</style> </head> <body> <div id="circular-box" class="clearfix"> <ul> <li><a href="http://www.sodao.com" mce_href="http://www.sodao.com"><img src="http://www.css88.com/demo/circular-img/jy20090504026.jpg" mce_src="http://www.css88.com/demo/circular-img/jy20090504026.jpg" width="200" height="200" /><span class="cir-bg"></span></a></li> <li><a href="http://www.sodao.com" mce_href="http://www.sodao.com"><img src="http://www.css88.com/demo/circular-img/jy20090504035.jpg" mce_src="http://www.css88.com/demo/circular-img/jy20090504035.jpg" width="200" height="200" /><span class="cir-bg"></span></a></li> <li><a href="http://www.sodao.com" mce_href="http://www.sodao.com"><img src="http://www.css88.com/demo/circular-img/jy20090504036.jpg" mce_src="http://www.css88.com/demo/circular-img/jy20090504036.jpg" width="200" height="200" /><span class="cir-bg"></span></a></li> </ul> </div> </body> </html>
相关文章推荐
- 兼容ie8以下的圆角头像制作方法
- 使用Canvas和Paint制作圆角矩形头像
- 页面圆角头像制作
- iOS 设置头像圆角效果
- 纯CSS实现兼容ie6以上的圆角头像
- css+div制作圆角矩形的四种方法
- 纯CSS制作圆角按钮,不需图片,兼容各浏览器
- DOTNETBAR制作圆角窗体和圆角控件代码实例
- Unity制作人物头像小图标和小地图
- 圆角菜单的制作
- WPF里面制作圆角文本框
- 圆角头像的实现
- ngui制作人物头顶的头像和血条
- 自定义ImageView->圆角矩形+圆形头像
- 关于圆角矩形制作的几种方案
- CSS3 圆角制作的消息提示图标
- 利用Quztrz2D制作带白色边框的QQ头像
- 纯css制作圆角的步骤总结
- 圆角头像