box-shadow
filter: drop-shadow
"/>

阴影神器filter: drop-亚博电竞官方网址

3,848views
no comments

共计 680 个字符,预计需要花费 2 分钟才能阅读完成。

body {
    background: #ddd;
    font: 16px/1 sans-serif;
    }
div {
    margin: 100px;
    width: 200px;
    background: #fff;
    padding: 20px;
    position: relative;
        }
div:after {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    margin: -10px 0 0;
    border-right: 10px solid #fff;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
        }
.box-shadow {box-shadow: 0 1px 5px rgba(0,0,0,.5);
        }
.filter-drop-shadow {-webkit-filter: drop-shadow(0 1px 5px rgba(0,0,0,.5));
    -moz-filter: drop-shadow(0 1px 5px rgba(0,0,0,.5));
    -ms-filter: drop-shadow(0 1px 5px rgba(0,0,0,.5));
    -o-filter: drop-shadow(0 1px 5px rgba(0,0,0,.5));
    filter: drop-shadow(0 1px 5px rgba(0,0,0,.5));
        }
box-shadow
filter: drop-shadow
正文完
 
亚博电竞官方网址 copyright notice: our original article, by 网站建设 2013-01-22 publish, total 680 words.
转载说明:除特殊说明外本站文章皆由cc-4.0协议发布,转载请注明出处。
comment(no comments)
网站地图