返回边框练习-边框......登陆

边框练习-边框,阴影,圆角-190318

不正。2019-03-18 16:54:16239

<!DOCTYPE html>

<html>


<head>

    <meta charset="utf-8">

    <title>图片边框练习</title>

    <link rel="stylesheet" type="text/css" href="demo2.css">

    <style>

        *{margin:0px;padding:0px;}

        div{

            width: 400px;

            /*边框*/

            border: 1px dashed #ccc;

            /*阴影*/

            box-shadow: 2px 2px 20px #ccc; 

            margin:30px auto; 

            border-radius : 10px ;

        }

    </style>

</head>

<body>

    <div>

    <img src="http://img.zcool.cn/community/0130d15acf6392a80121386742b344.gif@2o.png" alt="这是一个头像" width="400px">

    </div>

</body>

</html>


最新手记推荐

• 用composer安装thinkphp框架的步骤• 省市区接口说明• 用thinkphp,后台新增栏目• 管理员添加编辑删除• 管理员添加编辑删除

全部回复(0)我要回复

暂无评论~
  • 取消回复发送