Apply a CSS filter only on background

前端 未结 2 919
遥遥无期
遥遥无期 2020-12-07 02:44

In the following snippet, I have applied a blur filter on .sub-menu but I the text is also filtered.

How can I apply the blur filter only on the

2条回答
  •  执笔经年
    2020-12-07 03:41

    I suggest more to add separate div wich is blured and put your sub-menu over it:

    
    
    
    
    
              
    

提交回复
热议问题