ITeye博客

生成圆形头像

larryscale · 2016-05-18 17:30 · JavaScript备忘 · Web前端 · Markdown

<html>
<head>
<title>圆形头像</title>
<style type="text/css">
.radius{width:100px;height:100px;
        -moz-border-radius:50px;
        -webkit-border-radius:50px;
        border:solid 1px #aaa;
        border-radius:50px;
        -khtml-border-radius:50px;}
</style>
</head>
<body>

<img src="http://avatar.csdn.net/F/5/E/2_baidu_21029481.jpg" class="radius" />
</body>
</htm>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。