zoukankan      html  css  js  c++  java
  • 毛玻璃效果

    <body>
        <div class="wrapper">
            <div class="pic">
                毛玻璃效果,毛玻璃效果毛玻璃效果毛玻璃效果毛玻璃效果
            </div>
        </div>
    </body>
    .wrapper,.pic:before{
        background: url("http://www.officedoyen.com/uploads/allimg/150303/1-150303194244Q5.jpg") 0 / cover fixed;
    }
    
    .wrapper{
        text-align: center;
        padding: 100px;
        margin: 20px;
    }
    .pic{
        height: 550px;
        width: 550px;
        color: #fff;
        font-size: 20px;
        padding-top: 20px;
        background-color: rgba(255,255,255,0.5);
        margin: auto;
        position: relative;
        overflow: hidden;
        border-radius: 0.3em;
        z-index: 1;
    }
    
    .pic:before{
        content: '';
        position: absolute;
        z-index: -1;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: -30px;
        -webkit-filter: blur(10px);
        filter: blur(10px);
    }
    毛玻璃效果,毛玻璃效果毛玻璃效果毛玻璃效果毛玻璃效果
  • 相关阅读:
    GCC/gcc/g++/CC/cc区别
    C++静态库与动态库(转)
    Linux中find的使用(转)
    “《编程珠玑》(第2版)第2章”:B题(向量旋转)
    第一部分 DotNET与C#概述
    第一部分 二进制
    第一部分 计算机编程语言
    第一部分 计算机常识
    C# 泛型初探
    WPF 实现验证码功能
  • 原文地址:https://www.cnblogs.com/lisa-lin/p/5511243.html
Copyright © 2011-2022 走看看