Background blur with CSS

前端 未结 7 2227
忘了有多久
忘了有多久 2020-11-27 13:34

I want an Vista/7-aero-glass-style effect on a popup on my site, and it needs to be dynamic. I\'m fine with this not being a cross-browser effect as long as

7条回答
  •  攒了一身酷
    2020-11-27 13:42

    You can use a pseudo-element to position as the background of the content with the same image as the background, but blurred with the new CSS3 filter.

    You can see it in action here: http://codepen.io/jiserra/pen/JzKpx

    I made that for customizing a select, but I added the blur background effect.

提交回复
热议问题