CSS Speech Bubble with Box Shadow

后端 未结 5 1192
青春惊慌失措
青春惊慌失措 2020-11-28 01:48

Creating a DIV that uses CSS to draw a triangle to the left. Trying to apply a uniform box-shadow to both parent and the pseudo element (see images) and code.

Is th

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-28 02:29

    Don't use box-shadow.

     height: 200px;
        width:  275px;
        float:right;
        margin-top: 41px;
        margin-left:11px;
        background-color: #f2f2f2;
        -webkit-border-radius: 5px;
        -webkit-box-shadow: 0px 0px 5px #b2b2b2;
        position:relative;
        z-index:1;
    

提交回复
热议问题