Bluring a div with CSS

前端 未结 2 880
旧巷少年郎
旧巷少年郎 2021-01-24 05:56

Is it possible to blur a div with CSS3? And I don\'t mean the javascript blur, I mean the photoshop blur.

I don\'t want the edges of the div to be blurred, I want to con

2条回答
  •  没有蜡笔的小新
    2021-01-24 06:26

    Well... I came up with this:

    .blur {
        color: transparent;
        text-shadow: 0px 0px 2px #000000;
    }
    

    This will make the text blurry, for sure! Only thing is that it will make only text blurry. No images affected or anything. But I think that together with this http://plugins.jquery.com/project/blurimage you could make it more powerful!

    Have fun with experiments!

提交回复
热议问题