美文网首页
边框阴影

边框阴影

作者: 琪33 | 来源:发表于2018-04-25 09:04 被阅读0次
<style>
        body{
            background-color: #eee;
        }

        .box{
            width: 200px;
            height: 300px;
            margin:100px auto;
            background-color: #fff;
            border: 1px solid #000;
            /*昨天的经验 会成为明天进步的障碍,所以需要不断学习!*/
            /*box-shadow: 水平位移 垂直位移  模糊程度  阴影大小 阴影颜色 外/内阴影(inset)  外阴影不用写 */
            box-shadow: 15px 21px 48px -2px #666;
            /*box-shadow:3px 3px 3px 3px #666 inset;*/
        }
    </style>
</head>
<body>
    <div class="box"></div>
</body>

相关文章

  • css 阴影 shadow

    语法 inset: 默认阴影在边框外。使用 inset 后,阴影在边框内(即使是透明边框),背景之上内容之下。也有...

  • 边框阴影

  • CSS3新增样式

    边框圆角border-radius边框阴影box-shadow(x水平向右的阴影度,y垂直向下的阴影度,color...

  • CSS3

    边框 border-radius - 圆角边框 box-shadow - 边框阴影 border-image - ...

  • css

    边框 border-radius ---边框倒角 box-shadow ----边框阴影 border-imag...

  • react native 顶部导航

    1、去掉顶部阴影、边框

  • Flutter-Border

    边框(Border) 单侧边框 全部边框 圆角(borderRadius) 全部圆角 单侧圆角 阴影(BoxSha...

  • Layer处理

    UIView设置边框阴影时,必须设置一个背景颜色,不然不出来。 UITableView 设置边框阴影 UITabl...

  • CSS3补充

    椭圆边框3 阴影 倒影效果

  • flutter 控件添加阴影圆角边框

    快速添加阴影圆角边框代码

网友评论

      本文标题:边框阴影

      本文链接:https://www.haomeiwen.com/subject/belelftx.html