zoukankan      html  css  js  c++  java
  • html圆形头像的制作

    <html>
    <head>
    <title>圆形头像的制作</title>

    <style type="text/css">
    .imgtest{margin:10px 5px;
    overflow:hidden;}
    .list_ul figcaption p{
    font-size:12px;
    color:#aaa;
    }
    .imgtest figure div{
    display:inline-block;
    margin:5px auto;
    max-200px;
    height:200px;
    <!-- border-radius:100px; 此行代码让图片变圆 -->
    border:2px solid #fff;
    overflow:hidden;
    -webkit-box-shadow:0 0 3px #ccc;
    box-shadow:0 0 3px #ccc;
    }
    .imgtest img{100%;
    min-height:100%; text-align:center;}
    </style>
    </head>
    <body >

    <div class="imgtest">

    <figure>

    <div>
    <img src="http://db.zsmy.cn:8088/upload/authPic/2016/7/19/14689086514144647" />
    </div>
    </figure>
    </div>

    </body>
    </html>

  • 相关阅读:
    10000000000
    vue生命周期
    react基础
    第一个react
    vuex状态管理2
    vue配合UI组件
    vuex
    vue-router配合vue-cli的实例
    vue-router2.0
    父子组件2.0
  • 原文地址:https://www.cnblogs.com/shihaiming/p/5765509.html
Copyright © 2011-2022 走看看